PHPackages                             avavax/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. avavax/brain-games

ActiveProject[Utility &amp; Helpers](/categories/utility)

avavax/brain-games
==================

brain-games package

0.5.2(6y ago)09MITPHP

Since Aug 19Pushed 6y agoCompare

[ Source](https://github.com/avavax/php-project-lvl1)[ Packagist](https://packagist.org/packages/avavax/brain-games)[ RSS](/packages/avavax-brain-games/feed)WikiDiscussions master Synced today

READMEChangelog (8)Dependencies (2)Versions (9)Used By (0)

BrainGames
==========

[](#braingames)

[![Maintainability](https://camo.githubusercontent.com/ec689d3e8952e99baa5a105a5a62e435eabe87940917891b85104f960511f350/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f38616164343631353165383632323730366430362f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/avavax/php-project-lvl1/maintainability)[![Build Status](https://camo.githubusercontent.com/eb3f4f312ba3c7e40247af9c83d84c9908a3fc317d659b1e1527412c83e3c3f7/68747470733a2f2f7472617669732d63692e6f72672f6176617661782f7068702d70726f6a6563742d6c766c312e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/avavax/php-project-lvl1)

Подборка консольных мини-игр на PHP

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

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

```
$ brain-calc

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

May i have your name?: ilk
Hello, ilk!
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, ilk!

```

Установка

```
composer global create-project avavax/brain-games

```

Игра "Чёт-нечет" Пользователь должен определить, чётное введённое число или нет

```
brain-even

```

Игра "Калькулятор" Пользователь должен ввести ответ на простой арифметический пример

```
brain-calc

```

Игра "Наибольший общий делитель" Пользователь должен ввести НОД двух чисел

```
brain-gcd

```

Игра "Прогрессия" Пользователь должен указать пропущенное число прогрессии

```
brain-progression

```

Игра "Простое число" Пользователь должен ответить, является ли число простым или нет

```
brain-prime

```

[Скрин глобальной установки и процесса игры](http://joxi.ru/l2ZdnyJizxYO4r)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity53

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

8

Last Release

2454d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4210b1a22e7bd259a03e4630d8f34b26b177b02992d16ccff718b2ac02e07aae?d=identicon)[avavax](/maintainers/avavax)

---

Top Contributors

[![avavax](https://avatars.githubusercontent.com/u/38786595?v=4)](https://github.com/avavax "avavax (18 commits)")

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[niels-de-blaauw/php-doc-check

Command line tool that identifies code that needs documentation.

43236.3k4](/packages/niels-de-blaauw-php-doc-check)[ecoapm/libyear

A simple measure of software dependency freshness

28302.5k](/packages/ecoapm-libyear)

PHPackages © 2026

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