Brain Games: the first project for the Hexlet Python course
The Brain Games project is a Terminal trinket consisting of five math games, three rounds each. Using randomly generated values, they go like this:
- Find out if the given number is even or not;
- Calculate the expression (add, substract, divide);
- Find the greatest common divisor of the pair;
- Fill in an arithmetic progression;
- Find out if the number is prime or not.
Due to the repeating logic, the project has a common game flow that builds up the games based on their rules described in the modules.
All of this is mostly me learning to wrap up projects nicely and getting into coding best practices.