godedok / php-brain-games
My first project brain-games on PHP
Installs: 26
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
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-04-14 19:32:46 UTC
README
Install
composer global require godedok/php-brain-games:dev-master
Description
Brian Games is a set of console mini-games. Type one of the commands, and answer three questions correctly. If you make a mistake, you can start again.
Use the following commands
- Starts the game and asks for your name.
$ brain-games
$ brain-calc
$ brain-even
$ brain-balance
5. The game "The greatest common divisor"
$ brain-gcd
6. The game "Is it a simple number?"
$ brain-prime
7. The game "Arithmetic progression"
$ brain-progression