Skip to content

pborisovich94/python-project-lvl1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brain games

Actions Status Maintainability example workflow

Installation

Brain Games needs prompt to work correctly.
pip install prompt
pip install -i https://test.pypi.org/simple/ pborisovich94_brain_games==0.1.0

asciicast

Game: 'Is number even or not?'

A random number is presented to player to guess if it is even. They should answer 'yes' or 'no'.

To play this game run:
brain-even

Victory expample:

asciicast

Defeat example:

asciicast

Game: 'Calculator'

A random mathematical expression is presented to player to calculate it.

To play this game run:
brain-calc

Victory expample:

asciicast

Defeat example:

asciicast

Game: 'Greatest common divisor (GCD)'

Two random numbers is shown to player. Player must calculate and enter the greatest common divisor of these numbers.

To play this game run:
brain-gcd

Victory expample:

asciicast

Defeat example:

asciicast

Game: 'Arithmetic progression'

The player is offered an arithmetic progression in which he needs to find the missing element.

To play this game run:
brain-progression

Victory expample:

asciicast

Defeat example:

asciicast

Game: 'Is it a prime number?'

A random number is presented to player to guess if it is prime. They should answer 'yes' or 'no'.

To play this game run:
brain-prime

Victory expample:

asciicast

Defeat example:

asciicast

About

🎮 A set of games to keep your brain fit

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published