malcom / braingames
hexlet php project level 1
Installs: 12
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- wp-cli/php-cli-tools: ^0.11.11
Requires (Dev)
This package is auto-updated.
Last update: 2024-10-06 02:24:45 UTC
README
Hexlet PHP project - level 1
This repository contains Brain Games. This is a set of mini games launched from the console.
Install:
$ composer global require malcom/braingames
Games:
1. "Parity Check"
Answer yes if the number is even, otherwise answer no
Launch
$ brain-even
2. "Calculator"
Find is the result of the expression
Launch
$ brain-calc
3. "Greatest common divisor"
Find the greatest common divisor of given numbers
Launch
$ brain-gcd
4. "Progression"
Find missing number in the progression
Launch
$ brain-progression
5. "Is a prime"
Answer yes if given number is prime. Otherwise answer no
$ brain-prime