alllexxx1/python-project-49

View on GitHub
README.md

Summary

Maintainability
Test Coverage
[![Typing SVG](https://readme-typing-svg.demolab.com?font=Fira+Code&weight=700&size=25&pause=500&color=1924D4&multiline=true&width=435&height=70&lines=Hello%2C+World!;Welcome+to+the+Brain+Games!)](https://git.io/typing-svg)

## Hexlet tests and linter status:

[![Actions Status](https://github.com/alllexxx1/python-project-49/workflows/hexlet-check/badge.svg)](https://github.com/alllexxx1/python-project-49/actions)
<a href="https://codeclimate.com/github/alllexxx1/python-project-49/maintainability"><img src="https://api.codeclimate.com/v1/badges/fa33867e39452019b806/maintainability" /></a>

---

## 📎 Project description

'Brain Games' is a set of five mini-games. Each game has three rounds. You win if you answer correctly three times in a row. Wrong answer - game over

### 📌 Brain-even

There is a number. You must answer 'yes' if number is even and 'no' is number is odd

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

### 📌 Brain-calc

There is a mathematical expression. You must write correct solution

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

### 📌 Brain-gcd

There are two numbers. You must come up with greatest common divisor

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

### 📌 Brain-progression

There is progression with a missing number. You must fill in the missing number

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

### 📌 Brain-prime

There is a number. You must find out if this number is prime

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

---

## ⚙ Installation and launch

### Get and install the project:

```
$ git clone git@github.com:alllexxx1/python-project-49.git
$ cd ./python-project-49
$ make install
```

### Install and launch games:

```
$ make build
$ make package-install
$ name-of-the-game
```

### 🐳 Via Docker:

```
$ docker pull okerdocker11/brain-games
$ docker run -it okerdocker11/brain-games bash
$ poetry run name-of-the-game
```