README.md
### Hexlet tests, linter status and Codeclimate tests:
[![Actions Status](https://github.com/SergeiKiss/frontend-project-44/workflows/hexlet-check/badge.svg)](https://github.com/SergeiKiss/frontend-project-44/actions) <a href="https://codeclimate.com/github/SergeiKiss/frontend-project-44/maintainability"><img src="https://api.codeclimate.com/v1/badges/34f9d09838335c7c3282/maintainability" /></a>
Project description: my first Hexlet JS project, where I set up the environment by myself and create simple text-based games in the console.
## Setup
```bash
make install
```
## Start to play games
### Brain-even game
Task: answer "yes" if the number is even, otherwise answer "no"
To run the game:
```bash
brain-even
```
or
```bash
make brain-even
```
Example of the game:
https://asciinema.org/a/RJWYr2PUOcOlMsJ8PfQGYHIoX - asciinema recording (brain-even).
### Brain-calc game
Task: write result of the expression
To run the game:
```bash
brain-calc
```
or
```bash
make brain-calc
```
Example of the game:
https://asciinema.org/a/vUVakrlnL7CMrrmuCGSuqfkx1 - asciinema recording (brain-calc).
### Brain-gcd game
Task: find the greatest common divisor of given numbers
To run the game:
```bash
brain-gcd
```
or
```bash
make brain-gcd
```
Example of the game:
https://asciinema.org/a/5sCC5M739EoLLbheMHB4x3bpk - asciinema recording (brain-gcd).
### Brain-progression game
Task: write missing number in the progression
To run the game:
```bash
brain-progression
```
or
```bash
make brain-progression
```
Example of the game:
https://asciinema.org/a/nHAtvCyxfQJn0ezg1SdmY1vIc - asciinema recording (brain-progression).
### Brain-prime game
Task: answer "yes" if given number is prime, otherwise answer "no"
To run the game:
```bash
brain-prime
```
or
```bash
make brain-prime
```
Example of the game:
https://asciinema.org/a/paEK9I2ZeefxastCsS6hp9G2k - asciinema recording (brain-prime).