Alexey-654/php-project-lvl1

View on GitHub
README.md

Summary

Maintainability
Test Coverage
# php-project-lvl1
Simple console games on php

[![Maintainability](https://api.codeclimate.com/v1/badges/b9574ac0699a8c0cf25c/maintainability)](https://codeclimate.com/github/Alexey-654/php-project-lvl1/maintainability)
![CI](https://github.com/Alexey-654/php-project-lvl1/workflows/CI/badge.svg)

## Installation
### Global
In your Linux terminal in any directory type
```bash
$ composer global require alexey-654/php-project-lvl1
```
[![asciicast](https://asciinema.org/a/GkqdrfxEYp53blzeEabcM5XMV.svg)](https://asciinema.org/a/GkqdrfxEYp53blzeEabcM5XMV)

### Local
In your Linux terminal go to the directory where you want to install this package then type three commands:
```bash
$ git clone https://github.com/Alexey-654/php-project-lvl1.git
$ cd php-project-lvl1/
$ make install
```

## Usage Examples
### When package installed globally
In your terminal type command (name one of games):
```bash
$ brain-even
```
[![asciicast](https://asciinema.org/a/mqR3XLf4umITDjzo9BAVKERCW.svg)](https://asciinema.org/a/mqR3XLf4umITDjzo9BAVKERCW)

```bash
$ brain-calc
```
[![asciicast](https://asciinema.org/a/N5Nlzn4vpYbHOSEXgctdnf8AV.svg)](https://asciinema.org/a/N5Nlzn4vpYbHOSEXgctdnf8AV)


```bash
$ brain-gcd
```
[![asciicast](https://asciinema.org/a/YaYzmq61GDnpeYJaEh78HP3Pj.svg)](https://asciinema.org/a/YaYzmq61GDnpeYJaEh78HP3Pj)

```bash
$ brain-progression
```
[![asciicast](https://asciinema.org/a/DKkJ8Ebep8NCVVsqqLK7bCRPv.svg)](https://asciinema.org/a/DKkJ8Ebep8NCVVsqqLK7bCRPv)

```bash
$ brain-prime
```
[![asciicast](https://asciinema.org/a/3pEoJBE5YMrhQqdIAP3hdgEC2.svg)](https://asciinema.org/a/3pEoJBE5YMrhQqdIAP3hdgEC2)

Enjoy :)