Sign inSign up

kaziamov/brain-games

By kaziamov

•Updated almost 4 years ago

It's a pack of five games for growing up your math intelligence.

Image
0

110

kaziamov/brain-games repository overview

⁠Hexlet tests and linter status:

Actions Status

⁠CodeClimate badge:

Maintainability

⁠Description

It's a pack of five games for growing up your math intelligence.

  • Even number - it's a game where one needs to answer correctly is even a random number or not.
  • Missing number - it's a game where one needs to find a missing number in progression.
  • Calculation - it's a game where that needs calc for random math operation for two random numbers.
  • GSD - it's a game where one needs to find the Greatest Common Divisor for two random numbers.
  • Prime Number - it's a game where one needs to answer correctly whether is prime a random number or not.

First project for programming course Python Developer in Hexlet.io⁠

⁠Installation

⁠Docker

$ docker push kaziamov/brain-games

⁠Github

$ git clone [email protected]:kazyamov/python-project-lvl1.git
$ make install
# or
$ poetry install

asciicast

⁠Usage

⁠Even Number

$ docker run -it kaziamov/brain-games:v1 /bin/sh
$ brain-even

Or

$ cd python-project-lvl1
$ make brain-even

Or

$ cd python-project-lvl1
$ poetry run brain-even

asciicast

Example of playing the game with a win and lose ends.

⁠Calculation

$ docker run -it kaziamov/brain-games:v1 /bin/sh
$ brain-calc

Or

$ cd python-project-lvl1
$ make brain-calc

Or

$ cd python-project-lvl1
$ poetry run brain-calc

asciicast

Example of playing the game with a win and lose ends.

⁠Find GSD

$ docker run -it kaziamov/brain-games:v1 /bin/sh
$ brain-gcd

Or

$ cd python-project-lvl1
$ make brain-gcd

Or

$ cd python-project-lvl1
$ poetry run brain-gcd

asciicast

Example of playing the game with a win and lose ends.

⁠Missing number

$ docker run -it kaziamov/brain-games:v1 /bin/sh
$ brain-progression

Or

$ cd python-project-lvl1
$ make brain-progression

Or

$ cd python-project-lvl1
$ poetry run brain-progression

asciicast

Example of playing the game with a win and lose ends.

⁠Prime Number

$ docker run -it kaziamov/brain-games:v1 /bin/sh
$ brain-prime

Or

$ cd python-project-lvl1
$ make brain-prime

Or

$ cd python-project-lvl1
$ poetry run brain-prime

asciicast

Example of playing the game with a win and lose ends.

⁠Contacts

Twitter: @kazyamov⁠

LinkedIn: Ilia Kaziamov⁠

Telegram: @kazyamov⁠

Instagram: @kazyamov⁠

Tag summary

Content type

Image

Digest

sha256:d458f4c76…

Size

19.8 MB

Last updated

almost 4 years ago

docker pull kaziamov/brain-games:v1