5 games, 3 questions, 1 rule. Three correct answers in a row, and you win. One mistake, and you start again. Ready to challenge your intellect?
- Python 3.12 or higher
- uv
- Clone the repository:
git clone https://github.com/DashaChizh/python-project-49.git
- Go to the project directory:
cd ~/python-project-49
- Update or install the package with the current version:
uv sync
or
make install
Game Description:
The user is shown a random number. The user must answer "yes" if the number is even, or "no" if it is odd.
brain-even
Game Description:
The user is shown a random math expression, such as 35 + 16, and must calculate and enter the correct answer.
brain-calc
Game Description:
The user is shown two random numbers, for example, 25 and 50. The user must calculate and enter the greatest common divisor of these numbers.
brain-gcd
Game Description:
The user is shown a sequence of numbers forming an arithmetic progression, where one number is replaced by "..". The player must identify the missing number.
brain-progression
Game Description:
The user is shown a random number. They must answer "yes" if the number is prime, or "no" if it is not.
brain-prime