"Brain Games" is a set of five console games built on the principle of popular mobile brain training apps. Each game asks questions that need to be answered correctly. After three correct answers, the game is considered completed. Wrong answers end the game and offer to play it again.
- Even Number Check - determine if a number is even
- Calculator - calculate arithmetic expressions
- Greatest Common Divisor - find the GCD of two numbers
- Arithmetic Progression - find missing numbers in number sequences
- Prime Number Check - determine if a number is prime
- Node.js
- npm
- Clone the repository:
git clone https://github.com/E-Nasonov/frontend-project-44.git- Go to the project directory
cd frontend-project-44- Install dependencies:
npm ci- Install the package globally:
npm linkRun any of the following commands in your terminal:
brain-even # Even number check game
brain-calc # Calculator game
brain-gcd # Greatest common divisor game
brain-progression # Arithmetic progression game
brain-prime # Prime number identification game