kinsoRick/frontend-project-44

View on GitHub
README.md

Summary

Maintainability
Test Coverage
# Welcome to brain-games 👋
[![Version](https://img.shields.io/npm/v/brain-games-kinsorick.svg)](https://www.npmjs.com/package/brain-games-kinsorick)
[![Documentation](https://img.shields.io/badge/documentation-yes-brightgreen.svg)](https://github.com/kinsoRick/frontend-project-44#readme)
[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/kinsoRick/frontend-project-44/graphs/commit-activity)
[![Maintainability](https://api.codeclimate.com/v1/badges/90f6ca671047834475ff/maintainability)](https://codeclimate.com/github/kinsoRick/frontend-project-44/maintainability)
[![License: MIT](https://img.shields.io/github/license/kinsoRick/frontend-project-44)](https://github.com/kinsoRick/frontend-project-44#license)
[![Actions Status](https://github.com/kinsoRick/frontend-project-44/workflows/hexlet-check/badge.svg)](https://github.com/kinsoRick/frontend-project-44/actions)

> A set of 5 console games that will help pump your brain.

### 🏠 [Package](https://www.npmjs.com/package/brain-games-kinsorick)

## Description

`brain-games`
Shows the greeting to the player

`brain-even`
A random number is shown. The player has to answer yes if the number is even, or no if it is odd.

`brain-calc`
shows a random mathematical expression, for example 35 + 16, which you have to calculate and write down the correct answer.

`brain-gcd`
two random numbers are shown, e.g., 25 50. The player has to calculate and enter the greatest common divisor of these numbers.

`brain-progression`
Shows a series of numbers that form an arithmetic progression, replacing any of the numbers with two dots. The player must determine this number.

`brain-prime`
Show the player a number. The player must determine if it is a prime number.

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

## Requirements
- Windows or Linux
- NodeJS => v16.13.2, npm

## Install

```sh
npm install --global brain-games-kinsorick
```

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

## Author

👤 **Masnaveev Kamil Albertovich <kmasnaveev@gmail.com>**

* Website: kinsorick.github.io
* Github: [@kinsoRick](https://github.com/kinsoRick)

## 🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check [issues page](https://github.com/kinsoRick/frontend-project-44/issues). 

## Show your support

Give a ⭐️ if this project helped you!