Build Status

python-project-lvl1

Description

The Hexlet python developer project

The purpose of this project is to learn how to create python production ready code from scratch

The project consists of several game logic modules in brain_games/games folder

Games run by scripts from brain_games/scripts folder

The main game loop is executed by play() function from brain_games/engine/main_logic.py module

The entry points of this project are specified in the pyproject.toml file in the section [tool.poetry.scripts]

Installation

pip install --index-url https://test.pypi.org/simple/  --extra-index-url https://pypi.org/simple SergSm_brain_game

Installation ASCIInema

asciicast

How to run project

Any game may be run by using following respective commands:

brain-even
brain-calc 
brain-gcd
brain-progression 
brain-prime

"Parity check" game


*Win situation

asciicast

*Lose situation

asciicast

"Calculator" game


*Win situation

asciicast

*Lose situation

asciicast

"Greatest common divisor" game


*Win situation

asciicast

*Lose situation

asciicast

"Brain progresssion" game


*Win situation

asciicast

*Lose situation

asciicast

"Brain prime" game


*Win situation

asciicast

*Lose situation

asciicast