Muz4k/php-project-lvl1

View on GitHub
README.md

Summary

Maintainability
Test Coverage
# brain-games
[![Maintainability](https://api.codeclimate.com/v1/badges/603b4976a5b7913c9bbd/maintainability)](https://codeclimate.com/github/Muz4k/php-project-lvl1/maintainability)[![Build Status](https://travis-ci.org/Muz4k/php-project-lvl1.svg?branch=master)](https://travis-ci.org/Muz4k/php-project-lvl1)

This is a collection of command line games, one of the projects made while learning on the Hexlet platform.
[Read more about Hexlet (in Russian)](https://ru.hexlet.io/pages/about)

## Installation
- install composer globally, if you haven’t done it before (btw, why?;D);
- install brain-games:
    
    `composer global require muz4k/brain-games`

- enjoy it.

## How to play
You can choose one of the games:
- brain-even:
![brain-even](gifs/even.gif)
- brain-calc:
![brain-calc](gifs/calc.gif)
- brain-gcd:
![brain-gcd](gifs/gcd.gif)
- brain-prime:
![brain-prime](gifs/prime.gif)
- brain-progression:
![brain-progression](gifs/progression.gif)

## Importantly!
**Don't** write `exit` at the end!