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

https://github.com/foggysmile/python-project-49

This is the first project in the Python-developer course
https://github.com/foggysmile/python-project-49

hexlet hexlet-projects python python-project

Last synced: 5 months ago
JSON representation

This is the first project in the Python-developer course

Awesome Lists containing this project

README

          

# :zap: **Brain Games** :zap:

### Hexlet tests and linter status:
[![Actions Status](https://github.com/FoggySmile/python-project-49/workflows/hexlet-check/badge.svg)](https://github.com/FoggySmile/python-project-49/actions)
[![Maintainability](https://api.codeclimate.com/v1/badges/35907134e1d5a6f16dc2/maintainability)](https://codeclimate.com/github/FoggySmile/python-project-49/maintainability)

___
## **Description**
This is a set of five console games that was built on the bases of popular mobile brain training apps. Each game asks questions that need to be answered. After three correct answers, the game is considered to be completed.

## **Installation**
Run the following command in your terminal:
```
git clone https://github.com/FoggySmile/python-project-49.git
cd python-project-49
make build
make package-install
```

## **Run games**
After installation, you can play games with the following commands:

* ```brain-even``` - determine if the number is even
* ```brain-calc``` - determine the result of a mathematical expression
* ```brain-gcd``` - determine [the greatest common divisor](https://en.wikipedia.org/wiki/Greatest_common_divisor) of two numbers
* ```brain-progression``` - determine missing number in [arithmetic progression](https://en.wikipedia.org/wiki/Arithmetic_progression)
* ```brain-prime``` - determine if the number is [prime](https://en.wikipedia.org/wiki/List_of_prime_numbers)
___

## :video_camera: **Demonstration**
### *brain-even*
[![asciicast](https://asciinema.org/a/yXH9mgRAymik89KscKWho20bX.svg)](https://asciinema.org/a/yXH9mgRAymik89KscKWho20bX)
### *brain-calc*
[![asciicast](https://asciinema.org/a/Qz7xdhgPGtTh0a8RRkYh9AXsi.svg)](https://asciinema.org/a/Qz7xdhgPGtTh0a8RRkYh9AXsi)
### *brain-gcd*
[![asciicast](https://asciinema.org/a/KiZLvfzuqWah3JhQqv7ya5EJG.svg)](https://asciinema.org/a/KiZLvfzuqWah3JhQqv7ya5EJG)
### *brain-progression*
[![asciicast](https://asciinema.org/a/rqjTBxM7Sw43Q4bnlE7TbJLnA.svg)](https://asciinema.org/a/rqjTBxM7Sw43Q4bnlE7TbJLnA)
### *brain-prime*
[![asciicast](https://asciinema.org/a/8VYffxRu9C9iBunP3lnvK0RB2.svg)](https://asciinema.org/a/8VYffxRu9C9iBunP3lnvK0RB2)