Brain Games is a collection of five console games built on the principle of brain training. Each game asks a series of questions, and the player needs to give the correct answer. If they answer all questions correctly, they win.
Even Number Check – determine if a number is even
Calculator – perform random arithmetic operations
Greatest Common Divisor – find the GCD of two numbers
Arithmetic Progression – guess the missing number in a progression
Prime Number Check – determine if a number is prime
This project was built using these tools:
| Tool | Description |
|---|---|
| uv | "An extremely fast Python package and project manager, written in Rust" |
| Pytest | "A mature full-featured Python testing tool" |
| ruff | "An extremely fast Python linter and code formatter, written in Rust" |
git clone https://github.com/MetaSveta/python-project-49.git
cd python-project-49
make install
make build
make package-installAfter installation, you can start any game directly from the terminal:
Even Number Check
make brain-evenCalculator
make brain-calcGreatest Common Divisor
make brain-gcdArithmetic Progression
make brain-progressionPrime Number Check
make brain-primeEven Number Check
Calculator
Greatest Common Divisor
Arithmetic Progression
Prime Number Check