PHPackages                             kirill568/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. kirill568/brain-games

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

kirill568/brain-games
=====================

set mini-game

018PHP

Since Mar 1Pushed 6y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

[![Maintainability](https://camo.githubusercontent.com/8056d15d97246df963cd0741e05e4d4845c6100a91fe8dfe35f004ca1becfc01/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f31373866343430323362303736386635633164382f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/kirill568/project-lvl1-s470/maintainability)[![Build Status](https://camo.githubusercontent.com/eb545b2063918bf858fe934a6a57a46f66f294fce20a0675efceebb5932653d6/68747470733a2f2f7472617669732d63692e6f72672f6b6972696c6c3536382f70726f6a6563742d6c766c312d733437302e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/kirill568/project-lvl1-s470)

Brain games
===========

[](#brain-games)

Набор мини-игр для тренировки когнитивных способностей.
Пакет содержит 5 игр:

- "Проверка на четность"
- "Калькулятор"
- "НОД"
- "Арифметическая прогрессия"
- "Простое ли число?"

Как установить
--------------

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

- У вас должен быть установлен composer. Процесс установки Composer для каждой операционной системы описан в официальном руководстве:

- Вам нужно узнать в какую дирректорию composer складывает ссылки на исполняемые файлы c помощью команды `composer global config bin-dir --absolute`. Путь, который мы получили нужно добавить в переменную окружения PATH вот так:

    ```
    PATH=$PATH:путь
    export PATH

    ```
- Затем необходимо глобально установить пакет в систему с помощью команды `composer global require kirill568/brain-games:dev-master`
- Теперь вы можете запускать мини-игры из терминала

    Команды для запуска мини-игр:

    - brain-even ("Проверка на четность")
    - brain-calc ("Калькулятор")
    - brain-gcd ("НОД")
    - brain-progression ("Арифметическая прогрессия")
    - brain-prime ("Простое ли число?")

Игровой процесс
---------------

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

- Игра: "Проверка на четность"

    [![asciicast](https://camo.githubusercontent.com/484f9ee82ed91e1c6cfb78e1d464ec3a78b598952c7301fa87ee8a663eec9205/68747470733a2f2f61736369696e656d612e6f72672f612f6e78473655455458354843325251735232426444514667377a2e737667)](https://asciinema.org/a/nxG6UETX5HC2RQsR2BdDQFg7z)
- Игра: "Калькулятор"

    [![asciicast](https://camo.githubusercontent.com/cf7bf41534a82b445e802d207092bb6013aab7595d5a0e5c6c4eab53843511cd/68747470733a2f2f61736369696e656d612e6f72672f612f4b42483456564532447134665673565a456d524436466f33302e737667)](https://asciinema.org/a/KBH4VVE2Dq4fVsVZEmRD6Fo30)
- Игра "НОД"

    [![asciicast](https://camo.githubusercontent.com/9265e6dc98fec7013310f58da8a5032675cbf527ea43528e2ace2c9b1aa3977b/68747470733a2f2f61736369696e656d612e6f72672f612f4c7433544c62306c336a537a70505251594d7566354575326e2e737667)](https://asciinema.org/a/Lt3TLb0l3jSzpPRQYMuf5Eu2n)
- Игра "Арифметическая прогрессия"

    [![asciicast](https://camo.githubusercontent.com/a9296424d3ce4f53d3b5db832f57b05829364a6db449a45e49803ac066f49a5d/68747470733a2f2f61736369696e656d612e6f72672f612f714d6b62495665416341325770444352767848444f4a3643692e737667)](https://asciinema.org/a/qMkbIVeAcA2WpDCRvxHDOJ6Ci)
- Игра "Простое ли число?"

    [![asciicast](https://camo.githubusercontent.com/82c3644275a660f5c6925a61354042a26f9cecab01b023ea4c54b4d9bdd1d617/68747470733a2f2f61736369696e656d612e6f72672f612f327278385379316432515778525535746a557836704c4b71562e737667)](https://asciinema.org/a/2rx8Sy1d2QWxRU5tjUx6pLKqV)

©Проект реализован в рамках учебной программы Hexlet.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity34

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://www.gravatar.com/avatar/27f6c2f4b655a9057d1631f0612ef855a2db28823308b9b835ad5c73d7fd2a02?d=identicon)[kirill568](/maintainers/kirill568)

---

Top Contributors

[![kirill568](https://avatars.githubusercontent.com/u/38785586?v=4)](https://github.com/kirill568 "kirill568 (47 commits)")

### Embed Badge

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

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

###  Alternatives

[jordanmiguel/laravel-popular

A Laravel package to track popularity of entries(by Models) in a website at a certain time.

659.6k1](/packages/jordanmiguel-laravel-popular)[jaaulde/php-ipv4

PHP classes for working with IPV4 addresses and networks.

1034.6k](/packages/jaaulde-php-ipv4)[ip2location/ip2location-cakephp

Lookup for visitor's IP information, such as country, region, city, coordinates, zip code, time zone, ISP, domain name, connection type, area code, weather, MCC, MNC, mobile brand name, elevation and usage type.

224.6k](/packages/ip2location-ip2location-cakephp)

PHPackages © 2026

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