Skip to content

alienflakes/python-project-lvl1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hexlet tests and linter status:

Actions Status

CodeClimate Maintainability:

Maintainability

Flake8 linter status:

aliens_flake8_linter

The Brain Games project is a Terminal trinket consisting of five math games, three rounds each. Using randomly generated values, they go like this:

  1. Find out if the given number is even or not;
  2. Calculate the expression (add, substract, divide);
  3. Find the greatest common divisor of the pair;
  4. Fill in an arithmetic progression;
  5. Find out if the number is prime or not.

Due to the repeating logic, the project has a common game flow that builds up the games based on their rules described in the modules.

All of this is mostly me learning to wrap up projects nicely and getting into coding best practices.

Hexlet Brain Games project demonstration:

Even Brain Game asciinema:

asciicast

Calc Brain Game asciinema:

asciicast

GCD Brain Game asciinema:

asciicast

Progression Brain Game asciinema:

asciicast

Prime Brain Game asciinema:

asciicast