iselldonuts / brain-games
Collection of cli-games for your brain
1.1.0
2018-07-08 01:51 UTC
Requires
- wp-cli/php-cli-tools: ^0.11.9
Requires (Dev)
README
Brain Games
A collection of cli-games for your brain.
Installation
With Composer:
composer global require iselldonuts/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