helen_brain_game
v0.0.6
Published
project 1
Downloads
27
Readme
Brain games
install
npm install helen_brain_game
A set of mini-games that are run from the console on nodejs
This kind of games are usually called brain games.
The list of games includes:
- Answer "yes" if number even otherwise answer "no"
- Calculator
- Find the greatest common divisor of given numbers
- Balance the given number
- What number is missing in this progression?
- Is this number prime?
EXAMPLES
$ brain-progression
What number is missing in this progression?
May I have your name? John
Hello, John!
Question: 14 .. 18 20 22 24 26 28
Your answer: 16
Correct!
Question: 5 6 7 8 9 .. 11 12
Your answer: 10
Correct!
Question: 12 15 18 21 .. 27 30 33
Your answer: 24
Correct!
Congratulations, John!$ brain-balance
Balance the given number.
May I have your name? Sam
Hello, Sam!
Question: 215
Your answer: 233
Correct!
Question: 4181
Your answer: 3344
Correct!
Question: 355
Your answer: 445
Correct!
Congratulations, Sam!$ brain-even
Answer "yes" if number even otherwise answer "no".
May I have your name? Sam
Hello, Sam!
Question: 15
Your answer: no
Correct!
Question: 6
Your answer: yes
Correct!
Question: 7
Your answer: no
Correct!
Congratulations, Sam!$ brain-calc
What is the result of the expression?
May I have your name? Sam
Hello, Sam!
Question: 4 + 10
Your answer: 14
Correct!
Question: 25 - 11
Your answer: 14
Correct!
Question: 25 * 7
Your answer: 175
Correct!
Congratulations, Sam!