bondsa / brain-games
Brain games
Installs: 23
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >= 7.0.0
- wp-cli/php-cli-tools: ^0.11.9
Requires (Dev)
README
Terminal based Mini Games
List of 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".)
Getting Started
These instructions will get you a copy of the project up and running on your local machine.
Installing
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.
Usage
$ game-name
, e.g. $ brain-calc
Versioning
I use SemVer for versioning. For the versions available, see the tags on this repository.
Authors
Sergei Bondarenko - GitHub