This project includes a collection of 5 math-related games designed to challenge and improve your arithmetic and logical thinking skills. The games include:
- Checking if a number is prime
- Inserting a number into an arithmetic progression
- Providing the result of a calculation (multiplication, addition, subtraction)
- Answering if a number is even
- Finding the greatest common divisor of two numbers
To install the games, ensure you have Poetry installed on your machine, then run the following commands:
make install##Games To start playing, you can run the following commands:
To Check if a number is prime:
make brain-primeTo answer if a number is even:
make brain-evenTo provide the result of calculation:
make brain-calcTo find the greatest common divisor of two numbers:
make brain-gcdTo insert a number into an arithmetic progression:
make brain-progressionAfter installing the package using pip install --user, all commands can be executed without poetry run (e.g., brain-calc instead of poetry run brain-calc).