PHPackages                             wildreindeer/brain-games - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. wildreindeer/brain-games

ActiveProject

wildreindeer/brain-games
========================

brain games - the game for your mind

0.8.0(7y ago)0291PHP

Since Apr 1Pushed 5y agoCompare

[ Source](https://github.com/WildReindeer/project-lvl1-s470)[ Packagist](https://packagist.org/packages/wildreindeer/brain-games)[ RSS](/packages/wildreindeer-brain-games/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (2)Versions (8)Used By (0)

BrainGames
==========

[](#braingames)

BrainGames - это набор мини-игр, запускаемых из консоли.
--------------------------------------------------------

[](#braingames---это-набор-мини-игр-запускаемых-из-консоли)

### Пример игрового процесса:

[](#пример-игрового-процесса)

```
$ brain-calc

Welcome to the Brain Game!
What is the result of the expression?

May i have your name?: Zeus
Hello, Zeus!
Question: 8 - 2: 6
Your answer: 6
Correct!
Question: 6 * 7: 42
Your answer: 42
Correct!
Question: 3 * 2: 6
Your answer: 6
Correct!
Congratulations,Zeus!

```

### Для установки наберите в консоли `composer global create-project wildreindeer/brain-games`

[](#для-установки-наберите-в-консоли-composer-global-create-project-wildreindeerbrain-games)

### Для запуска игры наберите соответствующую команду в консоль.

[](#для-запуска-игры-наберите-соответствующую-команду-в-консоль)

### Список игр c командами для их запуска:

[](#список-игр-c-командами-для-их-запуска)

1. Проверка на четность.(`brain-even`)
2. Калькулятор.(`brain-calc`)
3. Наибольший общий делитель.(`brain-gcd`)
4. Арифметическая прогрессия.(`brain-progression`)
5. Простое ли число?(`brain-prime`)

##### [asciinema step 1](https://asciinema.org/a/C3bFpU4otjyMbvWx6QptgLiz9)

[](#asciinema-step-1)

##### [asciinema step 2](https://asciinema.org/a/Y6vYAKqoijw89OccJuHJ7iyIQ)

[](#asciinema-step-2)

##### [asciinema step 4](https://asciinema.org/a/4zLDw1RtYPoFXNaAR82D20I3a)

[](#asciinema-step-4)

##### [asciinema step 5](https://asciinema.org/a/rhiqtmXjQNPYaz2JJyuGZpYEo)

[](#asciinema-step-5)

##### [asciinema step 6](https://asciinema.org/a/lbsl10Tx0yRN9FMz2eKZkk4g2)

[](#asciinema-step-6)

##### [asciinema step 7](https://asciinema.org/a/3t2ynxwaa4Ggukh55Bw7N7Q55)

[](#asciinema-step-7)

##### [asciinema step 8](https://asciinema.org/a/a9MsCCbsYvtiaEoeUfTdlBOnK)

[](#asciinema-step-8)

[![Maintainability](https://camo.githubusercontent.com/3867028056bfdad4a0eec6a8e1a3ca36240c3c9513759ea486f575f10879c1a5/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f65313466653866303665323462393563343663322f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/WildReindeer/project-lvl1-s470/maintainability)[![Test Coverage](https://camo.githubusercontent.com/13649d27dad57b3bcc8ed12c8db1b53ad3db2d951b286d6979d6579f3f2d1ba4/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f65313466653866303665323462393563343663322f746573745f636f766572616765)](https://codeclimate.com/github/WildReindeer/project-lvl1-s470/test_coverage)[![Build Status](https://camo.githubusercontent.com/49bf390f128c5d3ecbe4d25e85bf20b93e0a28f6c1c803816c577b7387e0838d/68747470733a2f2f7472617669732d63692e6f72672f57696c645265696e646565722f70726f6a6563742d6c766c312d733437302e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/WildReindeer/project-lvl1-s470)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

7

Last Release

2591d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b3842a7aaf6695453103be2fe75d3635769937cc9a0197a60ac89a3cb8a80515?d=identicon)[WildReindeer](/maintainers/WildReindeer)

---

Top Contributors

[![WildReindeer](https://avatars.githubusercontent.com/u/25156535?v=4)](https://github.com/WildReindeer "WildReindeer (55 commits)")

---

Tags

gamebrainlogicalintellectual

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/wildreindeer-brain-games/health.svg)

```
[![Health](https://phpackages.com/badges/wildreindeer-brain-games/health.svg)](https://phpackages.com/packages/wildreindeer-brain-games)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
