alantaboev/bg

View on GitHub
README.md

Summary

Maintainability
Test Coverage
# Brain Games

[![PHP CI](https://github.com/alantaboev/bg/workflows/PHP%20CI/badge.svg)](https://github.com/alantaboev/bg/actions?query=workflow%3A%22PHP+CI%22)
[![Maintainability](https://api.codeclimate.com/v1/badges/a99a88d28ad37a79dbf6/maintainability)](https://codeclimate.com/github/alantaboev/bg)

## Game installation
Use [Composer](https://getcomposer.org/) to install the game.

For global installation and updates, use the command:
```
composer global require alantaboev/bg
```
[![asciicast](https://asciinema.org/a/XfbfhXDVJjdmBcH0PdNkLZ96a.svg)](https://asciinema.org/a/XfbfhXDVJjdmBcH0PdNkLZ96a)

## Odd or even
For playing «Odd or even», use the command: `brain-even`

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

## Calculator
For playing «Calculator», use the command: `brain-calc`

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

## Greatest Common Divisor
For playing «Greatest Common Divisor», use the command: `brain-gcd`

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

## Arithmetic progression
For playing «Arithmetic progression», use the command: `brain-progression`

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

## Prime number
For playing «Prime number», use the command: `brain-prime`

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