nokobo / php-project-lvl1
Several mini-console games.
Package info
github.com/nokoboprog/php-project-lvl1
Type:project
pkg:composer/nokobo/php-project-lvl1
1.0.0
2020-01-03 12:57 UTC
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