vkzhuk / brain_games
There is no license information available for the latest version (1.1.0) of this package.
brain-games in the PHP-CLI
1.1.0
2018-07-29 09:56 UTC
Requires
- php: 7.2.*
- wp-cli/php-cli-tools: *
Requires (Dev)
README
Brain Games
CLI-Games
Installation
With Composer:
composer global require vkzhuk/brain_games
Games List
Even
Determine whether the given number is even or odd.
brain-even
Calc
Find the result of the given expression.
brain-calc
Gcd
Find the greatest common divisor of the given numbers.
brain-gcd
Balance
Balance the given number.
brain-balance
Progression
Find the missing number in the given arithmetic progression.
brain-progression
Prime
Determine whether the given number is prime or not.
brain-prime