This is a small console application - a collection of games that test logic and calculation proficiency.
Use
make install
make run-dist
to build and run the application.
After running the application, the user gets to choose a game mode. Each game ends when the user gives three correct answers in a row or gives an incorrect answer.
- Even
The user needs to answer if a given number is off or even. Here is the asciinema with gameplay. - Calc
The user is to guess the result of a simple expression. Here is the asciinema with gameplay. - GCD
The user is to calculate the greatest common divisor of two numbers. Here is the asciinema with gameplay. - Progression
The user needs to guess a hidden number in an arithmetic progression. Here is the asciinema with gameplay. - Prime
The user needs to answer if a given number is prime or not. Herer is the asciinema with gameplay.