godedok/php-brain-games

My first project brain-games on PHP

dev-master 2018-07-30 07:15 UTC

This package is auto-updated.

Last update: 2024-04-14 19:32:46 UTC


README

Maintainability Test Coverage Build Status

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

  1. Starts the game and asks for your name.
$ brain-games

asciicast 2. Game: "Calculator"

$ brain-calc

asciicast 3. Game: "Check for parity"

$ brain-even

asciicast 4. Game "Balance"

$ brain-balance

asciicast 5. The game "The greatest common divisor"

$ brain-gcd

asciicast 6. The game "Is it a simple number?"

$ brain-prime

asciicast 7. The game "Arithmetic progression"

$ brain-progression

asciicast