PHPackages                             alexeyhol/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. [CLI &amp; Console](/categories/cli)
4. /
5. alexeyhol/brain\_games

ActiveProject[CLI &amp; Console](/categories/cli)

alexeyhol/brain\_games
======================

console game on php

022PHP

Since Feb 8Pushed 6y ago1 watchersCompare

[ Source](https://github.com/alexeyhol/brain_games)[ Packagist](https://packagist.org/packages/alexeyhol/brain_games)[ RSS](/packages/alexeyhol-brain-games/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Maintainability](https://camo.githubusercontent.com/e612b9ea729d2182edc09c0df96d5d36ccf7dee939e810ebe33c95c0f3a0960c/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f37353132613064313965326263323938336164652f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/alexeyhol/php-project-lvl1/maintainability)[![Build Status](https://camo.githubusercontent.com/b732b4667d70178d058d8f8a973384b5f51946fa936f92952cc31877ec268080/68747470733a2f2f7472617669732d63692e6f72672f616c65786579686f6c2f7068702d70726f6a6563742d6c766c312e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/alexeyhol/php-project-lvl1)

Интеллектуальные консольные игры "Brain Games"
==============================================

[](#интеллектуальные-консольные-игры-brain-games)

Установка
---------

[](#установка)

Для установки необходимо выполнить команду:

***composer global require alexeyhol/brain\_games***

После установки нужно так же установить все необходимые зависимости. Для этого в папке с игрой нужно выполнить команду:

***composer install***

Запуск
------

[](#запуск)

Для запуска игры необходимо ввести ее название в командой строке

Игры
----

[](#игры)

- **brain-calc**: простые арифметические действия с числами

[![asciicast](https://camo.githubusercontent.com/139d6efe06a1942ecfddb45d46a7e9f23f4a51aebd22c3152b2912d416e06a75/68747470733a2f2f61736369696e656d612e6f72672f612f4e4977774d4533336b514e6274364a42737151546952476e352e737667)](https://asciinema.org/a/NIwwME33kQNbt6JBsqQTiRGn5)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#)

- **brain-even**: проверка числа на четность

[![asciicast](https://camo.githubusercontent.com/6573d4f24199c5ec48d468497539c5b4525caa604271c955ef8fbe005a9a5c17/68747470733a2f2f61736369696e656d612e6f72672f612f7a4238725973377441564c72767a7157746a614867754857332e737667)](https://asciinema.org/a/zB8rYs7tAVLrvzqWtjaHguHW3)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#-1)

- **brain-gcd**: поиск нибольшего общего делителя

[![asciicast](https://camo.githubusercontent.com/6c9d06d733a8e80fbca36e94f72bd293788a455ee1df912e149db5c7347c362d/68747470733a2f2f61736369696e656d612e6f72672f612f444c6a42393739324f424a517052654779643055784d4154692e737667)](https://asciinema.org/a/DLjB9792OBJQpReGyd0UxMATi)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#-2)

- **brain-prime**: простое ли число?

[![asciicast](https://camo.githubusercontent.com/fad6ffbf36669a8a31e31167a195186a825e3082406dce62121494b7581143ce/68747470733a2f2f61736369696e656d612e6f72672f612f6e616b4a75376d45467775384d416966786131424564744a4f2e737667)](https://asciinema.org/a/nakJu7mEFwu8MAifxa1BEdtJO)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#-3)

- **brain-progression**: поиск члена прогрессии

[![asciicast](https://camo.githubusercontent.com/0693c9c7f038bc2c9d9535dfdfdf2b41fc2a1dfcc1203351e76b975def64dee9/68747470733a2f2f61736369696e656d612e6f72672f612f7355756559794a6a4a42495049655733306546796f416341732e737667)](https://asciinema.org/a/sUueYyJjJBIPIeW30eFyoAcAs)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#-4)

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/20642526?v=4)[Alexey Kholodov](/maintainers/alexeyhol)[@alexeyhol](https://github.com/alexeyhol)

---

Top Contributors

[![alexeyhol](https://avatars.githubusercontent.com/u/20642526?v=4)](https://github.com/alexeyhol "alexeyhol (78 commits)")

### Embed Badge

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

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

###  Alternatives

[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24726.4M22](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

13045.3M6.2k](/packages/illuminate-console)[styleci/cli

The CLI tool for StyleCI

71464.1k9](/packages/styleci-cli)[winbox/args

Windows command-line formatter

20718.9k21](/packages/winbox-args)

PHPackages © 2026

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