bulat / brain-games
There is no license information available for the latest version (1.6.2) of this package.
One week learning project on PHP with Hexlet. Making a set of small console-type games.
1.6.2
2019-04-07 23:27 UTC
Requires
- wp-cli/php-cli-tools: ^0.11.11
Requires (Dev)
README
Brain-Games
Description
A set of small console-type games.
Installation
Using Composer, you can install brain-games system-wide with the following command:
composer global require bulat/brain-games
Games and commands to start them in bash
Even
Answer "yes" if number even otherwise answer "no".
brain-even
Calc
Give the result of the expression.
brain-calc
Gcd
Find the greatest common divisor of given numbers.
brain-gcd
Progression
Give number that is missing in the progression.
brain-progression
Prime
Answer "yes" if given number is prime. Otherwise answer "no".
brain-prime