Skip to content

nikitaivochkin/project-lvl1-s280

Repository files navigation

Welcome to Brain Games! v.1.8.0

Usage

For local start open cli and write game name

Your attention presented 6 games for the brain:

  1. Brain-Even

    The task of the game: Answer "yes" if number even otherwise answer "no".

    To run, enter the command: "even"

  2. Brain-Calc

    The task of the game: What is the result of the expression?

    To run, enter the command: "calc"

  3. Brain-Gcd

    The task of the game: Find the greatest common divisor of given numbers.

    To run, enter the command: "gcd"

  4. Brain-Balance

    The task of the game: Balance the given number.

    To run, enter the command: "balance"

  5. Brain-Prgression

    The task of the game: What number is missing in this progression?

    To run, enter the command: "progression"

  6. Brain-Prime

    The task of the game: Is this number prime?

    To run, enter the command: "prime"

Install

npm i nikita_ivochkin_project

Example

MacBook-Pro-Nikita:project-lvl1-s280 nikitaivockin$ even
Welcome to the Brain Games!
Answer "yes" if number even otherwise answer "no".

May I have your name?: nikita
Hello, nikita!

Question: 33
Your answer: no
Correct!
Question: 47
Your answer: no
Correct!
Question: 84
Your answer: yes
Correct!
Congratulations, nikita!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published