This project is a collection of five concole games. In each game, it is necessary to answer a number of questions correctly in order to complete the game. The game ends if three correct answers are given. Incorrect answers end the game immediately.
git clone git@github.com:fedorovaea18/Brain_Games.git
cd Brain_Games/app
make run
make lint
Even
This game shows the user a random number. And he needs to answer "yes" if the number is even, or "no" if it is odd.
Calculator
This game shows the user a random mathematical expression that needs to be calculated and written down the correct answer. There are only three type of question: addition, subtaction and multiplication.
GCD
This game shows the user two random numbers. He must find the largest common divisor of these numbers.
Progression
This game shows a series of numbers forming an arithmetic progression by missing any of the numbers. The user must guess this number.
Prime
This game shows the user a random number. He must answer is the number prime.