Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mikhailmogilnikov/brain-games

First program launching in terminal. Small kit of math-based games.
https://github.com/mikhailmogilnikov/brain-games

Last synced: 1 day ago
JSON representation

First program launching in terminal. Small kit of math-based games.

Awesome Lists containing this project

README

        

# brain-games
Small kit of math-based games in terminal!

[![Actions Status](https://github.com/mikhailmogilnikov/frontend-project-44/workflows/hexlet-check/badge.svg)](https://github.com/mikhailmogilnikov/frontend-project-44/actions)
[![Maintainability](https://api.codeclimate.com/v1/badges/5a8789c29918c0bbde84/maintainability)](https://codeclimate.com/github/mikhailmogilnikov/frontend-project-44/maintainability)

## How to install?
Clone this repository on your device, open clonned folder in **terminal** and enter `make install`.

After installing you can use all available commands:
```
brain-games
brain-even
brain-calc
brain-gcd
brain-progression
brain-prime
```

## brain-games
Basic command to test install status of a program.

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

## brain-even
Answer "yes" if the number is even, otherwise answer "no".

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

## brain-calc
Calculate the result of basic mathematical operations.

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

## brain-gcd
Find the greatest common divisor of given numbers.

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

## brain-progression
Find missing number in the progression.

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

## brain-prime
Answer "yes" if given number is prime. Otherwise answer "no".

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