Brain-Games
is a project that contains 5 different games.
Each game asks a question that the gamer must answer correctly.
For victory gamer should answer correct three times, if answer was wrong game is over.
This project was built using these tools:
Tool | Description |
---|---|
poetry | "Python dependency management and packaging made easy" |
flake8 | "Your tool for style guide enforcement" |
promtp | "Prompt and verify user input on the command line." |
For the project to work properly, make sure you have poetry
installed.
- Clone the repository
git clone [email protected]:iduwawl/The-brain-games.git
- Go to project folder
cd The-brain-games
- Install the game package and poetry dependencies
make setup
To start the game, enter the name of the game in the console.
Name of the game | Description |
---|---|
brain-even |
Answer 'yes' or 'no' if the number is even |
brain-calc |
What the result of the expression |
brain-gcd |
Find the GCD of of given numbers |
brain-progression |
What number the missing in the progression |
brain-prime |
Answer 'yes or 'no' if given number is prime |