project1-snokke
v1.0.18
Published
Project 1 (brain games) at hexlet. Session: 236
Readme
Brain games
Install
npm install -g project1-snokkeUsage
There are 6 terminal based mini-games: balance, calc, even, gcd, prime, progression. To run specific game, type:
- brain-even
- brain-calc
- brain-gcd
- brain-balance
- brain-progression
- brain-prime
Example:
Welcome to the Brain Games!
Answer "yes" if number even otherwise answer "no".
May I have your name? Andrei
Hello, Andrei!
Question: 84
Your answer: yes
Correct!
Question: 41
Your answer: no
Correct!
Question: 34
Your answer: yes
Correct!
Congratulations, Andrei!