ashikov/frontend-project-lvl1

View on GitHub
README.md

Summary

Maintainability
Test Coverage
# Brain-games

[![Main](https://github.com/ashikov/brain-games-ln/actions/workflows/main.yml/badge.svg)](https://github.com/ashikov/brain-games-ln/actions/workflows/main.yml)
[![Maintainability](https://api.codeclimate.com/v1/badges/81b708c59e43460b6fa3/maintainability)](https://codeclimate.com/github/ashikov/frontend-project-lvl1/maintainability)

This package includes 5 simple math games to be launched as CLI.

## Requirements

![npm](https://www.npmjs.com/get-npm) must be installed in your operating system.

## Usage

Type name of the game which you would like to play in the command-line.

## Games list, description and asciicast2gif gameplay samples

* __brain-even__

You need to answer whether a given number is even or not.

![brain-even](/gif/brain-even.gif)
* __brain-calc__

Adding, subtraction or multiplication of two values.

![brain-calc](/gif/brain-calc.gif)
* __brain-gcd__

You'll get two numbers and you'll have to calculate their gratest common divisor.

![brain-gcd](/gif/brain-gcd.gif)
* __brain-progression__

You need to calculate missed arithmetic progression term.

![brain-progression](/gif/brain-progression.gif)
* __brain-prime__

You need to define whether the displayed number is prime or not.

![brain-prime](/gif/brain-prime.gif)