nokobo / php-project-lvl1
Several mini-console games.
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- wp-cli/php-cli-tools: ^0.11.11
Requires (Dev)
README
Installation with Composer:
$ composer global require nokobo/php-project-lvl1
Description:
Several mini-console games. To win you need to answer three questions in a row.
List of games:
brain-even
- specify if the number is even or not.brain-calc
- find the result of the expression.brain-gcd
- find the greatest common divisor of given numbers.brain-progression
- find a missed number in the progression.brain-prime
- specify if the number is prime or not.
How to run and play:
$ brain-even
$ brain-calc
$ brain-gcd
$ brain-progression
$ brain-prime