ProsWeb/project-lvl1-s320

View on GitHub
README.md

Summary

Maintainability
Test Coverage
 # Brain-games

[![Maintainability](https://api.codeclimate.com/v1/badges/a99a88d28ad37a79dbf6/maintainability)](https://codeclimate.com/github/ProsWeb/project-lvl1-s320/maintainability)
[![Build Status](https://travis-ci.org/ProsWeb/brain_games.svg?branch=master)](https://travis-ci.org/ProsWeb/brain_games)

## Description
Brain Games are set of mini games launching via console.

### The set includes 6 games:

1. is Even?
2. Calculator
3. 'GCD'
4. Balance
5. Progression
6. is Prime?

### Installation
sudo npm i -g brain_games_hexlet1

### Rules
1. Open terminal.
2. Type brain-games or name of the game which you would like to play. For example: brain-calc.
3. Play.

### Game 1 - is Even?
$ brain-even

![Alt Text](https://github.com/ProsWeb/project-lvl1-s320/blob/master/gifs/even.gif)

### Game 2 - Calculator
$ brain-calc

![Alt Text](https://github.com/ProsWeb/project-lvl1-s320/blob/master/gifs/calc.gif)

### Game 3 - Greatest Common Divisor?
$ brain-gcd

![Alt Text](https://github.com/ProsWeb/project-lvl1-s320/blob/master/gifs/gcd.gif)

### Game 4 - Balance
$ brain-balance

![Alt Text](https://github.com/ProsWeb/project-lvl1-s320/blob/master/gifs/balance.gif)

### Game 5 - Progression
$ brain-progression

![Alt Text](https://github.com/ProsWeb/project-lvl1-s320/blob/master/gifs/progression.gif)

### Game 6 - is Prime
$ brain-prime

![Alt Text](https://github.com/ProsWeb/project-lvl1-s320/blob/master/gifs/prime.gif)