Hexlet Python study project 1 (Brain Games)
About
This is an extensible set of small command-line puzzle/trivia-like games. The example games are pretty basic, but it's easy to implement and add your own games to the set to be run with existing game engine.
Installation
You can install the package from PyPI. Note that the main package is distributed through TestPyPI index, but there is still a dependency (prompt) to be fetched from the regular PyPI, so you need to use --extra-index-url
option.
pip3 install --extra-index-url https://test.pypi.org/simple/ ashpb-brain-games
Game examples
brain-even
Guess if random number is even:
brain-calc
Calculate the result of random expression:
brain-gcd
Calculate the greatest common divisor of two random numbers:
brain-progression
Find the missing element in arithmetic progression:
brain-prime
Guess if the random number is a prime: