This repository represents a simple math-quiz game set called “Brain Games” as an educational project on Hexlet that demands well-engineered project architecture and CI/CD (with automatic tests and publication).
The game set is based on a single engine module and includes 5 game modules:
- Calc game: Calculate the result of a simple arithmetic expression.
- Even game: Determine is a given number even or not.
- GCD game: Find the greatest common divisor of two numbers.
- Prime game: Determine is a given number prime or not.
- Progression game: Find the missing element in an arithmetic progression.
Example of usage:
Script name | Short name (as defined in pyproject.toml) | Corresponding game |
---|---|---|
brain_calc.py | brain-calc | Calc game |
brain_even.py | brain-even | Even game |
brain_gcd.py | brain-gcd | GCD game |
brain_prime.py | brain-prime | Prime game |
brain_progression.py | brain-progression | Progression game |
brain_games.py | brain-games | Basic script |
Tool | Description |
---|---|
GitHub Actions | "Automate your workflow from idea to production" |
dillinger | "Cloud-enabled, mobile-ready, offline-storage, AngularJS powered HTML5 Markdown editor" |
makefile | "A build automation tool that automatically builds executable programs and libraries from source code by reading files called Makefiles which specify how to derive the target program" |
poetry | "Python dependency management and packaging made easy" |
Test PyPi | "Test Python package publishing with the Test Python Package Index" |
wemake-python-styleguide | "The strictest and most opinionated python linter ever" |