A collection of five console math games to train your brain. Each game presents questions that need to be answered correctly. Three correct answers win the game, while a wrong answer ends it.
- Calculator - Solve arithmetic expressions
- Progression - Find the missing number in a sequence
- Even or Odd - Determine number parity
- Greatest Common Divisor - Find GCD of two numbers
- Prime Number - Check if number is prime
- Node.js v14+
git clone https://github.com/ElenaManukyan/Mind-games.git
cd Mind-games
npm installnpx eslint . # Runs Airbnb style guide check| Game | Command | Description |
|---|---|---|
| Even Check | make brain-even |
Determine if number is even |
| Calculator | make brain-calc |
Solve math expressions |
| GCD | make brain-gcd |
Find greatest common divisor |
| Progression | make brain-progression |
Complete the sequence |
| Prime | make brain-prime |
Check for prime numbers |
Pull requests welcome! For major changes, please open an issue first.