godedok / php-brain-games
My first project brain-games on PHP
dev-master
2018-07-30 07:15 UTC
Requires
- wp-cli/php-cli-tools: 0.11.*
Requires (Dev)
This package is auto-updated.
Last update: 2026-03-14 23:58:17 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