Brain Games is a set of five console arithmetics games. Each game asks questions that need to be answered correctly. After three correct answers, the game is considered to be completed. Wrong answers end the game and offer to play it again.
🎮 What games are provided here? There are examples of winning (first case) and losing (second case) in the videos below.
• Brain-even - determining an even number.
• Brain-calc - arithmetic expressions to be calculated.
• Brain-gcd - determining the largest common divisor.
• Brain-progression - finding missing numbers in a sequence of numbers.
• Brain-prime - determining a prime number.
#Installation
The game run on a Unix-like operating system. Make sure you have Node.js and npm installed run the following commands:
node -v
npm -v
Node.js v13.0.0
or higher must be installed to run the game.
To install the Brain-games:
- Clone the repository git clone [email protected]:polina-belyakaeva/frontend-project-44.git
- Go to repository directory cd frontend-project-44
- Install dependencies make install
- Install the package npm link
👾 Enjoy the game!