iselldonuts/project-lvl1-s300

View on GitHub
README.md

Summary

Maintainability
Test Coverage
![Logo](https://i.imgur.com/8XrTVOO.png)

# Brain Games

[![Maintainability](https://api.codeclimate.com/v1/badges/d9db5f427d9008c8b6cc/maintainability)](https://codeclimate.com/github/iselldonuts/project-lvl1-s300/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/d9db5f427d9008c8b6cc/test_coverage)](https://codeclimate.com/github/iselldonuts/project-lvl1-s300/test_coverage)
[![Build Status](https://travis-ci.org/iselldonuts/project-lvl1-s300.svg?branch=master)](https://travis-ci.org/iselldonuts/project-lvl1-s300)

A collection of cli-games for your brain.

## Installation

With [Composer](https://getcomposer.org):
```bash
composer global require iselldonuts/brain-games
```

## Games List

#### Even

Determine whether the given number is even or odd.

```bash
brain-even
```

#### Calc

Find the result of the given expression.

```bash
brain-calc
```

#### Gcd

Find the greatest common divisor of the given numbers.

```bash
brain-gcd
```

#### Balance

Balance the given number.

```bash
brain-balance
```

#### Progression

Find the missing number in the given arithmetic progression.

```bash
brain-progression
```

#### Prime

Determine whether the given number is prime or not.

```bash
brain-prime
```

## Gameplay

![Gameplay](https://i.imgur.com/kRO2RwC.gif)

## License

[MIT](LICENSE)