/python-project-lvl1

Five CLI games to make your brain work

Primary LanguagePython

Brain Games

Maintainability Python package

Five CLI games to make your brain work

  1. Brain Even. Find odd or even number
  2. Brain Calc. Are you good at calculus?
  3. Brain GCD. Do you know Euclidean algorithm?
  4. Brain Progression. Find the missing number
  5. Brain Prime. Prime numbers and where to find them

asciicast

Usage

Install the dependencies using Make and Poetry

make install

Run a game

make brain-even
make brain-calc
make brain-gcd
make brain-progression
make brain-prime

Make Brain Games python package

make build

Install Brain Games package on your OS

make package-install

Run a game from your OS

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

Contribution

Check your style using Flake8

make lint

Publish package in PyPi (Dry run)

make publish