Brain Games is a set of 5 games for the terminal. In each game, answer 3 questions correctly. If you lose, you can try again.
| Tools | Version |
|---|---|
| python | ^3.11 |
| prompt | ^0.4.1 |
| Tools | Version |
|---|---|
| python | 3.11 |
| poetry | 1.6.1 |
| prompt | 0.4.1 |
| flake8 | 6.1.0 |
| Step | Instruction |
|---|---|
| 1 | Clone he repository to your PC:[email protected]:Xapdina/python-project-49.git |
| 2 | Go to repositorycd python-project-49 |
| 3 | Installation game in your PCmake install |
| 4 | Or you use command for install game:python3 -m pip install --user git+https://github.com/Xapdina/python-project-49.git |
| 4 | And this for uninstall game:python3 -m pip uninstall hexlet-code |
P.S. You must have Poetry installed
| Command | Description |
|---|---|
make install |
Install dependencies. |
make build |
Build distribution. |
make publish |
Publication process simulation it to PyPI. |
make package-install |
Install package. |
make lint |
Launching the Flake8. |
make brain-games |
You need to determine whether a number is even or not. |
make brain-calc |
You need to solve an example. |
make brain-gcd |
You need to determine the greatest divisor. |
make brain-pg |
You need to continue arithmetic progress. |
make brain-prime |
You need to determine a prime number. |