Brain-games
Description
This is CLI mini games. Set consist of 6 games:
- brain-even
- brain-calc
- brain-gcd
- brain-balance
- brain-progression
- brain-prime
Requirements
Installed Node.JS
Installation
npm i -g brain-games-bp
Play
In terminal you have to type name of one of given game. For example:
$ brain-prime
Game's rules
Every game has 3 rounds. If you give right answer on any offered question it lets you go to the next round otherwise game over, which reports message with correct answer.
Brain even
Answer "yes" if number even otherwise answer "no".
start the game:
$ brain-even
Brain calc
Calculate the result of the expression.
start the game:
$ brain-calc
Brain gcd
Find the greatest common divisor of given numbers.
start the game:
$ brain-gcd
Brain progression
Calculate the missing number of given progression.
start the game:
$ brain-progression
Brain prime
Answer "yes" if number is prime otherwise answer "no".
start the game:
$ brain-prime