rualt / brain-games
study project (Hexlet PHP online course)
Installs: 22
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
Requires (Dev)
This package is auto-updated.
Last update: 2024-05-15 20:14:21 UTC
README
This is a PHP study project (Hexlet.io PHP online couse)
Project Description
A set of primitive mini-games launched via console.
How to install
$ composer global require rualt/brain-games
How to play
You can choose of 5 different games. To win you have to give 3 correct answers in a row.
List of games
$ brain-calc
Find result of a random expression.
$ brain-even
Find out if a random number is even and write 'yes' or 'no'.
$ brain-gcd
Find a GCD of two random numbers.
$ brain-prime
Find out if a random number is prime and write 'yes' or 'no'.
$ brain-progression
Find a missing number of a random progression.