Brain Games

Badges

Hexlet tests and linter status:

Actions Status

Maintainability

Github Actions Status

Description

Brain Games — a set of five console games built on the principle of popular mobile applications for brain pumping.

Brain-even

In this game you have to answer if the number is even.

Brain-calc

In this game you have to calculate the result of the expression.

Brain-gcd

In this game you have to find the greatest common divisor for two numbers.

Brain-progression

In this game you have to find the hidden element of ariphmetical progression.

Brain-prime

In this game you have to answer if the number is prime.

Visuals

Demo brain-even on asciinema: asciicast

Demo brain-calc on asciinema: asciicast

Demo brain-gcd on asciinema: asciicast

Demo brain-progression on asciinema: asciicast

Demo brain-prime on asciinema: asciicast

Install

Use the following commands to install Brain Games:

make build
make package-install
make install

Local testing

Use the following command to test the package:

make lint

Commands

Use the following commands to play Brain Games:

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

Support

If you have questions you can email me to yudaev1@gmail.com

Links

This project was built using these tools:

Tool Description
poetry "Python dependency management and packaging made easy"
flake8 "The tool for style guide enforcement"
code climate "Actionable metrics for engineering"
github actions "Automatization software workflows with CI/CD"