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

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

vasilkov/brain-games
====================

v1.3.5(5y ago)029MITPHP

Since Jul 28Pushed 5y agoCompare

[ Source](https://github.com/VasilkovDmitriy/php-project-lvl1)[ Packagist](https://packagist.org/packages/vasilkov/brain-games)[ RSS](/packages/vasilkov-brain-games/feed)WikiDiscussions master Synced 1mo ago

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

[![Github Actions Status](https://github.com/VasilkovDmitriy/php-project-lvl1/workflows/PHP%20CI/badge.svg)](https://github.com/VasilkovDmitriy/php-project-lvl1/actions)[![Maintainability](https://camo.githubusercontent.com/dc9c981a5ae66cf5c4e8cfda8caaa7017ebe0aa7eaf0827512a5fb89437d5a9b/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f62616335313138373937636133383062616563372f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/VasilkovDmitriy/php-project-lvl1/maintainability)

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

[](#brain-games)

### Requirements

[](#requirements)

- PHP 7.4
- Composer

### Setup

[](#setup)

```
$ composer global require vasilkov/brain-games

  enter the name of the game in the command line
```

### Games

[](#games)

- brain-even
- brain-calc
- brain-gcd
- brain-progression
- brain-prime

### Setup, brain-even

[](#setup-brain-even)

[![asciicast](https://camo.githubusercontent.com/d37ebfcc97525aff2c77eed53e52c4e17558237264bd23089daac0eddeb6fda1/68747470733a2f2f61736369696e656d612e6f72672f612f6f7930424169796942346e623862774969496d7766647457342e737667)](https://asciinema.org/a/oy0BAiyiB4nb8bwIiImwfdtW4)

### brain-calc

[](#brain-calc)

[![asciicast](https://camo.githubusercontent.com/33879c47935a7ffb493d1eb03df7733e27463c58ab7b70a1deced3af597eeb20/68747470733a2f2f61736369696e656d612e6f72672f612f444e77776b737a386b4946417a35315257636f624f6c474f4d2e737667)](https://asciinema.org/a/DNwwksz8kIFAz51RWcobOlGOM)

### brain-gcd

[](#brain-gcd)

[![asciicast](https://camo.githubusercontent.com/4ac90e1172970b382d7ab3cea8d5f249ecd5806d2cc8ca255c5ab93abcaa65d2/68747470733a2f2f61736369696e656d612e6f72672f612f424e4e746a306d4c64364e6f414c77345050397762437671512e737667)](https://asciinema.org/a/BNNtj0mLd6NoALw4PP9wbCvqQ)

### brain-progression

[](#brain-progression)

[![asciicast](https://camo.githubusercontent.com/897861ebca38e5079bff12d814d281a23e13adffd972e8d3cd503b666e8db768/68747470733a2f2f61736369696e656d612e6f72672f612f41624f4636366a7041795a346a7152736658734730684a32322e737667)](https://asciinema.org/a/AbOF66jpAyZ4jqRsfXsG0hJ22)

### brain-prime

[](#brain-prime)

[![asciicast](https://camo.githubusercontent.com/893e50b78ab4f9467d0b752a4d8fdeb5ad7305d255d271fb8d5bdd3e6ea2b269/68747470733a2f2f61736369696e656d612e6f72672f612f6679713356676a546e4a4a7979516c726c4b32746e774167522e737667)](https://asciinema.org/a/fyq3VgjTnJJyyQlrlK2tnwAgR)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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 ~1 days

Total

10

Last Release

2106d ago

### Community

Maintainers

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

---

Top Contributors

[![VasilkovDmitriy](https://avatars.githubusercontent.com/u/60084739?v=4)](https://github.com/VasilkovDmitriy "VasilkovDmitriy (16 commits)")

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/vasilkov-brain-games/health.svg)](https://phpackages.com/packages/vasilkov-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)
