nurgeld / python-project-49

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hexlet tests and linter status:

Actions Status

Maintainability

Collection of simple console games:

Installation and launch:

python3 -m venv brain-games
source brain-games/bin/activate
pip install git+https://github.com/nurgeld/python-project-49.git

The games can be launched from the command line with the following commands:

$ brain-even # the user needs to answer whether the number is even or not
$ brain-gcd # the user should calculate the greatest common divisor of two numbers
$ brain-calc # the user needs to calculate the result of an arithmetic expression
$ brain-progression # the user should guess the missing number in an arithmetic progression
$ brain-prime # the user needs to answer whether the number is prime or not

To exit the virtual environment session, type deactivate. This command will be available after the environment has been activated (previously performed).

Demo:

asciicast

About


Languages

Language:Python 92.5%Language:Makefile 7.5%