Hippiek1ller/frontend-project-lvl1

View on GitHub
README.md

Summary

Maintainability
Test Coverage
# Brain games
[![Maintainability](https://api.codeclimate.com/v1/badges/7e16a478e3008a9ae2b6/maintainability)](https://codeclimate.com/github/Hippiek1ller/frontend-project-lvl1/maintainability)
[![Build Status](https://travis-ci.org/Hippiek1ller/frontend-project-lvl1.svg?branch=master)](https://travis-ci.org/Hippiek1ller/frontend-project-lvl1)


This is a set of short mathematical quizzes running in the console. 
* Brain even - answer "yes" if the number is even or "no" if  the number is odd.
* Brain calc - evaluate given expression and type the answer.
* Brain gcd - find the greatest common divisor of given numbers.
* Brain progresstion - complete the progression by adding the missing number.
* Brain prime - answer "yes" if number is prime otherwise answer "no".




## Install

```sh
$ sudo npm install -g @hippiek1ller/brain-games
```

## Launch
### **Brain-even** 

```sh
$ brain-even
```
[![asciicast](https://asciinema.org/a/DcsVUy5OuNKSbZwPvhzAHyly1.svg)](https://asciinema.org/a/DcsVUy5OuNKSbZwPvhzAHyly1)



### **Brain-calc** 

```sh
$ brain-calc
```

[![asciicast](https://asciinema.org/a/DeIRNDh6S2NYwCL0SMvjMv4qR.svg)](https://asciinema.org/a/DeIRNDh6S2NYwCL0SMvjMv4qR)

### **Brain-gcd**

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

### **Brain-progression**

```sh
$ brain-progression
```
[![asciicast](https://asciinema.org/a/4R6ooFrPnDTBSki4UsQvTf7ZW.svg)](https://asciinema.org/a/4R6ooFrPnDTBSki4UsQvTf7ZW)

### **Brain-prime**

```sh
$ brain-prime
```
[![asciicast](https://asciinema.org/a/DpiBXs0xt8P8b4ljZG22jXd1B.svg)](https://asciinema.org/a/DpiBXs0xt8P8b4ljZG22jXd1B)