Skip to content

Latest commit

 

History

History
34 lines (29 loc) · 1.54 KB

README.md

File metadata and controls

34 lines (29 loc) · 1.54 KB

Hexlet tests and linter status:

Actions Status

Maintainability

BRAIN GAMES

The package contains five simple mathematics quiz games:

  1. Calculator (brain-calc)
  2. Check even number (brain-even)
  3. Find greatest common divider (brain-gcd)
  4. Find lost number in progression (brain-progression)
  5. Prime number (brain-prime)

Installation

Execute in a terminal in the root directory: python3 -m pip install dist/hexlet_code-0.1.0-py3-none-any.whl
or command: make package-install
asciinema installation (https://asciinema.org/a/Pt2fuw4TDiNtm143Nneowmt73)

p.s. On my system there is a conflict between Ubuntu and pip so I activate Poetry, you may not need to do this

How it works

To start the game you need to execute one of the commands:

  1. brain-even
    asciinema game brain-even (https://asciinema.org/a/ai5jn7A3lrUcdwqXUyDEqt4O9)
  2. brain-calc
    asciinema game brain-calc (https://asciinema.org/a/5zjMH4tBlli6rwRq09TIg6QSe)
  3. brain-gcd
    asciinema game brain-gcd (https://asciinema.org/a/JrAlVYJD3mrWSkFc0ZK8FjZ4k)
  4. brain-progression
    asciinema game brain-progression (https://asciinema.org/a/eZD5xzdn7lVDwY798sVaUWOyg)
  5. brain-prime
    asciinema game brain-prime (https://asciinema.org/a/adu91gryjLGUSof43guMI5htV)