1.2.3 • Published 4 years ago
marazmatique v1.2.3
project-lvl1-s486
The Brain Games
"Brain games" is a collection of games for CLI, based on simple logical and mathematical rules.
Install The BrainGames from npm
npm install marazmatique
Game Options:
To start the selected game, type the appropriate command in the CLI and complete the task:
1.brain-even
Answer "yes" if number even otherwise answer "no"
2.brain-calc
What is the result of the expression?
3.brain-gcd
Find the greatest common divisor of given numbers.
4.brain-prog
What number is missing in the progression?
5.brain-prime
Answer "yes" if given number is prime. Otherwise answer "no".