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

ActiveProject

walle/brain-games
=================

Brain Games

4.0.0(7y ago)027PHPPHP ^7.2

Since Apr 2Pushed 6y ago1 watchersCompare

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

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

[![Build Status](https://camo.githubusercontent.com/7fecb5ae6806698d9047ce34562461565814b72adf0a57a136b9dbac3c0b19d3/68747470733a2f2f7472617669732d63692e6f72672f766173696c6979616e74756665762f70726f6a6563742d6c766c312d733437302e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/vasiliyantufev/project-lvl1-s470)[![](https://camo.githubusercontent.com/3a8d9a4c79cc364ca41073191e7824ef121c3adc0d1d0d25069bcca3b4d8d283/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f30383232636136323134353731653133646563382f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/vasiliyantufev/project-lvl1-s470/maintainability)[![](https://camo.githubusercontent.com/70ff5ee0e6759978fa0d438e34c272e074424931ae7b244e85eb159adb61287d/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f30383232636136323134353731653133646563382f746573745f636f766572616765)](https://codeclimate.com/github/vasiliyantufev/project-lvl1-s470/test_coverage)

Project hexlet: brain-games
---------------------------

[](#project-hexlet-brain-games)

REQUIREMENTS
------------

[](#requirements)

- php 7.2+
- composer

INSTALLEMENT
------------

[](#installement)

`composer global require walle/brain-games`

Games list
----------

[](#games-list)

- brain-games - We ask a user's name and welcome him/her.
- brain-even - The point of the game is the following: a random number is shown to the user. He needs to say yes, if the number is even, or no - if it is odd.
- brain-calc - The point of the game is the following: the user is shown a random mathematical task, for example, 35 + 16, which the user need to solve and write the correct answer.
- brain-gcd - The point of the game is the following: the user is shown two random numbers, for example, 25 50. The user must solve the task and write the greatest common factor of these numbers.
- brain-prime - We show the player a series of numbers that forms an arithmetic progression, replacing any of the numbers with two dots. The player must determine this number.
- brain-progression - We show the player a number and he must determine whether it is simple or not.

Example
-------

[](#example)

[![asciicast](https://camo.githubusercontent.com/276b5df5fc30064f358c72ba44f2b759cee36eeca9457cca773faae243810a89/68747470733a2f2f61736369696e656d612e6f72672f612f4a594868664d36323836444665456175303455694f6e46594b2e737667)](https://asciinema.org/a/JYHhfM6286DFeEau04UiOnFYK)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Total

4

Last Release

2594d ago

Major Versions

1.0.0 → 2.0.02019-04-06

2.0.0 → 3.0.02019-04-07

3.0.0 → 4.0.02019-04-07

### Community

Maintainers

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

---

Top Contributors

[![vasiliyantufev](https://avatars.githubusercontent.com/u/4541435?v=4)](https://github.com/vasiliyantufev "vasiliyantufev (42 commits)")

---

Tags

hexletbrain games

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

PHPackages © 2026

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