Terminal based Mini Games
- brain-even (Answer "yes" if number even otherwise answer "no".)
- brain-calc (What is the result of the expression?)
- brain-gcd (Find the greatest common divisor of given numbers.)
- brain-balance (Balance the given number.)
- brain-progression (What number is missing in this progression?)
- brain-prime (Answer "yes" if number prime otherwise answer "no".)
These instructions will get you a copy of the project up and running on your local machine.
Globally
Install the package:
$ composer global require bondsa/brain-games
Add to PATH
~/.config/composer/vendor/bin
:
echo 'export PATH="$PATH:$HOME/.config/composer/vendor/bin"' >> ~/.bash_profile
Restart the terminal.
$ game-name
, e.g. $ brain-calc
I use SemVer for versioning. For the versions available, see the tags on this repository.
Sergei Bondarenko - GitHub