1.6.0 • Published 4 years ago
bgames-az v1.6.0
Brain Games
Set of mini games "Brain Games".
How to install:
npm install -g bgames-az
How to start:
game brain-even
$ brain-even
Welcome to the Brain Games!
Answer "yes" if the number is even, otherwise answer "no".
May I have your name? #enter your username#
Hello, #username#!
Question: 15
Your answer: no
Correct!
Question: 6
Your answer: yes
Correct!
Question: 7
Your answer: no
Correct!
Congratulations, #username#!
game brain-calc
$ brain-calc
Welcome to the Brain Games!
What is the result of the expression?
May I have your name? #enter your username#
Hello, #username#!
Question: 4 + 10
Your answer: 14
Correct!
Question: 25 - 11
Your answer: 17
'17' is wrong answer ;(. Correct answer was '14'.
Let's try again, #username#!
game brain-gcd
$ brain-gcd
Welcome to the Brain Games!
Find the greatest common divisor of given numbers.
May I have your name? #enter your username#
Hello, #username#!
Question: 25 50
Your answer: 25
Correct!
Question: 100 52
Your answer: 4
Correct!
Question: 3 9
Your answer: 3
Correct!
Congratulations, #username#!
game brain-progression
$ brain-progression
Welcome to the Brain Games!
What number is missing in the progression?
May I have your name? #enter your username#
Hello, #username#
Question: 5 7 9 11 13 .. 17 19 21 23
Your answer: 16
'16' is wrong answer ;(. Correct answer was '15'.
Let's try again, #username#!
game brain-prime
$ brain-prime
Welcome to the Brain Games!
Answer "yes" if given number is prime. Otherwise answer "no".
May I have your name? #enter your username#
Hello, #username#
Question: 7
Your answer: yes
Correct!
Question: 5
Your answer: yes
Correct!
Question: 8
Your answer: yes
'yes' is wrong answer ;(. Correct answer was 'no'.
Let's try again, #username#!