AAbenites/project-lvl1-s450

View on GitHub
README.md

Summary

Maintainability
Test Coverage
##
The first javascript hexlet project
##

# brain-games
[![Maintainability](https://api.codeclimate.com/v1/badges/ae7d008f26407e8c4abd/maintainability)](https://codeclimate.com/github/AAbenites/project-lvl1-s450/maintainability)
[![Build Status](https://travis-ci.com/AAbenites/project-lvl1-s450.svg?branch=master)](https://travis-ci.com/AAbenites/project-lvl1-s450)

## Setup

```sh
$ npm i -g benites-brain-games
```

## Run

```sh
$ <game-name>
```

## brain-even
Define whether a number even or not. Answer 3 times correctly to win.

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

## brain-calc
Calculate result of the expression. Answer 3 times correctly to win.

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

## brain-gcd
Define the greatest common divisor for two numbers. Answer 3 times correctly to win.

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

## brain-progression
Define the number in arithmetic progression. Answer 3 times correctly to win.

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

## brain-prime
Define if number is prime. Answer 3 times correctly to win.

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