roman / php-project-lvl1
hexlet-project
dev-master
2019-10-04 05:37 UTC
Requires
- wp-cli/php-cli-tools: ^0.11.11
Requires (Dev)
This package is auto-updated.
Last update: 2026-03-04 19:03:17 UTC
README
Brain games
This package introduces several CLI games to interact with users in a question / answer format.
Installation:
- Clone this repository
make install
You also can install this package via composer.
List of games:
- brain-even
You should to determine an even number or not by answering 'yes' or 'no'
- brain-gcd
You should find the greatest common divisor of two numbers
- brain-progression
You should determine hidden element of progression
- brain-prime
You must define a prime or not by answering 'yes' or 'no'
- brain-calc
You must calculate the sum of two numbers