iselldonuts / brain-games
Collection of cli-games for your brain
Installs: 33
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/iselldonuts/brain-games
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