A set of console math games for brain training.
Each game asks you questions, and you need to give the correct answer.
If you make three mistakes — the game is over.
Clone the repository and install dependencies:
git clone <your-repo-url>
cd <your-project-folder>
make install
npm linkTo start a game, run its command in the terminal. Example:
brain-evenRule: Answer "yes" if the number is even, otherwise answer "no". Run a game from the terminal.
brain-evenRule: Solve a simple arithmetic expression. Run a game from the terminal.
brain-calcRule: Find the greatest common divisor of two numbers. Run a game from the terminal.
brain-GCDRule: Find the missing number in the arithmetic progression. Run a game from the terminal.
brain-progressionRule: Answer "yes" if the number is prime, otherwise answer "no". Run a game from the terminal.
brain-primeNode.js >= 20.0
npm >= 9.0
Make >= 4.0