Build with: JavaScript, ESlint, npm, readline-sync.
Brain games is a collection of 5 mini-games to test and train math skills. Each game has 3 rounds of math questions on a chosen topic. 3 correct answers in a row successfully complete the game. If the answer is incorrect, the game will be stopped.
- Brain-even — determining an even number.
- Brain-calc — calculation of mathematical expressions.
- Brain-gcd — determining the greatest common divisor.
- Brain-progression — search for missing elements in a sequence of numbers.
- Brain-prime — determining a prime number.
Node.js v13.2.0 or higher.
Use the following commands in your CLI:
git clone [email protected]:sen98ia/brain-games.git
cd brain-games
npm install
To play a mini-game, use one of the following commands: