orion122/brain-games

View on GitHub
README.md

Summary

Maintainability
Test Coverage
# Brain Games

[![Maintainability](https://api.codeclimate.com/v1/badges/7e52f227e347b89d2212/maintainability)](https://codeclimate.com/github/orion122/brain-games/maintainability)
[![Issue Count](https://codeclimate.com/github/orion122/brain-games/badges/issue_count.svg)](https://codeclimate.com/github/orion122/brain-games)
[![Build Status](https://travis-ci.org/orion122/brain-games.svg?branch=master)](https://travis-ci.org/orion122/brain-games)

## Description
Simple CLI-games:
- brain-balance - Balance the given number
- brain-calc - What is the result of the expression?
- brain-even - Answer "yes" if number is even otherwise answer "no".
- brain-prime - Answer "yes" if number is prime otherwise answer "no".
- brain-gcd - Find the greatest common divisor of given numbers.
- brain-progression - What number is missing in this progression?

## Installation
`$ composer require eq/hexlet-brain-games`

## Usage
- `$ ~/vendor/bin/brain-balance`
- `$ ~/vendor/bin/brain-calc`
- `$ ~/vendor/bin/brain-even`
- `$ ~/vendor/bin/brain-prime`
- `$ ~/vendor/bin/brain-gcd`
- `$ ~/vendor/bin/brain-progression`