eq / hexlet-brain-games
There is no license information available for the latest version (2.0.0) of this package.
2.0.0
2017-10-06 14:36 UTC
Requires
Requires (Dev)
This package is not auto-updated.
Last update: 2026-02-25 05:31:17 UTC
README
Description
Simple CLI-games:
- brain-balance - Balance the given number
- brain-calc - What is the result of the expression?
- brain-even - Answer "yes" if number is even otherwise answer "no".
- brain-prime - Answer "yes" if number is prime otherwise answer "no".
- brain-gcd - Find the greatest common divisor of given numbers.
- brain-progression - What number is missing in this progression?
Installation
$ composer require eq/hexlet-brain-games
Usage
$ ~/vendor/bin/brain-balance$ ~/vendor/bin/brain-calc$ ~/vendor/bin/brain-even$ ~/vendor/bin/brain-prime$ ~/vendor/bin/brain-gcd$ ~/vendor/bin/brain-progression