| Game | Description |
|---|---|
| brain-even | Player gets a number and should enter 'yes' if number if even, otherwise player should enter 'no' |
| brain-calc | Player gets an expression and should enter the result of calculation |
| brain-gcd | Player gets two numbers and should enter the greatest common divisior of the given numbers |
| brain-progression | Player gets a row with the missing number and should enter that number |
| brain-prime | Player gets a number and should enter 'yes' if that number is prime, otherwise player should enter 'no' |
Victory condition in every game is three right answers in a row
The project exists only on github and for usage could be installed using pip command:
python3 -m pip install --user git+https://github.com/Unshock/python-project-lvl1.git
Run of the games is carried out by the commands below:
brain-even
brain-calc
brain-gcd
brain-progression
brain-prime