README.md
<a href="https://codeclimate.com/github/ljapkin-roman/php-project-lvl1/maintainability"><img src="https://api.codeclimate.com/v1/badges/c5f8ef19c43333cf2a22/maintainability" /></a> <br/>[![Build Status](https://travis-ci.org/ljapkin-roman/php-project-lvl1.svg?branch=master)](https://travis-ci.org/ljapkin-roman/php-project-lvl1) <br/>
# Brain-games
Six mini games created for school purposes. In the making this project learning syntax PHP, basics of work with Composer.
## Installation
For install this package requires install Composer on your computer - https://getcomposer.org/ <br/>
After that, enter this in command line
```bash
composer global require ogurchik/brain-games
```
Add path to the package in your variable environment $PATH
```bash
PATH=$PATH:~/.config/composer/vendor/bin
```
## Launch a game
```bash
brain-even
```
Game where you will guess is a number even
```bash
brain-calc
```
Simple arithmetic
```bash
brain-gcd
```
Game where you will figure out greatest common divider tho numbers
```bash
brain-prime
```
Game whre you will guess is a number prime.
```bash
brain-progression
```
Game where you will fill up the gap in arithmetis progression
sample install package - https://asciinema.org/a/pJUcYtmsJEVKZrtCKkL7uxoPp <br/>
install brain-calc and launch one - https://asciinema.org/a/w7x7DIOjCbjKoRjkxkh0iUszc<br/>
install brain-gcd and launch one - https://asciinema.org/a/cQBlHwEThruSiLtDErgvibRA4<br/>
install brain-progression and launch one - https://asciinema.org/a/sfUMATs8mvL7LNgzIHrFfS5Lx<br/>
install brain-prime and launch one - https://asciinema.org/a/dM42H46eLWGLB4LTw2As4Zziv<br/>