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

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

zharkov-denis/brain-games
=========================

compilation of simple but fascinating text games

v1.1.2(7y ago)027PHP

Since Mar 11Pushed 7y agoCompare

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

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

Brain Games
===========

[](#brain-games)

[![Maintainability](https://camo.githubusercontent.com/dde3885c80ea060bdb8d4b2c23f0178cc30927d258bf4e57b48542780b82ced8/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f31373139376562623166643164313034653036342f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/mrDenisZharkov/project-lvl1-s458/maintainability)[![Build Status](https://camo.githubusercontent.com/d7842baba9b74fd7015af8dc11640b3d2194399f27dcbea60e1d1b1c10485ad0/68747470733a2f2f7472617669732d63692e6f72672f6d7244656e69735a6861726b6f762f70726f6a6563742d6c766c312d733435382e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/mrDenisZharkov/project-lvl1-s458)

Description:
------------

[](#description)

This package is a group of simple but exciting online comsole games. There are next games:

- Even game (user should define if a number is even);
- Calc game (user should calculate an expression);
- GCD game (user should define greatest common devider of two numbers);
- Progression game (user should define deleted member of progression);
- Prime game (user should define if a number is prime).

How to install brain games:
---------------------------

[](#how-to-install-brain-games)

For global installation:

```
composer global require zharkov-denis/brain-games

```

[![asciicast](https://camo.githubusercontent.com/98a0a14d752f8eca2e1b248dc5fb46bdb0bd2e32cb917d35eb335da23831e5f5/68747470733a2f2f61736369696e656d612e6f72672f612f57444f5931534159454e5844666f62547549316b7a664a79752e737667)](https://asciinema.org/a/WDOY1SAYENXDfobTuI1kzfJyu)

How to launch brain games menu:
-------------------------------

[](#how-to-launch-brain-games-menu)

After successfull installation:

```
brain-games

```

[![asciicast](https://camo.githubusercontent.com/fc370e66e46e24e4d98ee052decbd4fc40dc56df991d034052fa6a26be7d0f0d/68747470733a2f2f61736369696e656d612e6f72672f612f30516e6149613349566634434c564747754573394f38495a672e737667)](https://asciinema.org/a/0QnaIa3IVf4CLVGGuEs9O8IZg)

How to launch Even game:
------------------------

[](#how-to-launch-even-game)

After successfull installation:

```
brain-even

```

[![asciicast](https://camo.githubusercontent.com/95e4a934fe1e10ef023a8e3c11f9f09dc208b64ea246fef7e6dd0d1ea28709bd/68747470733a2f2f61736369696e656d612e6f72672f612f5a6545746942646735786e3352576f6a6d68335938315953562e737667)](https://asciinema.org/a/ZeEtiBdg5xn3RWojmh3Y81YSV)

How to launch Calc game:
------------------------

[](#how-to-launch-calc-game)

After successfull installation:

```
brain-calc

```

[![asciicast](https://camo.githubusercontent.com/35b37295eb4886d545bc16755f084c48b778c974d4da69451011221462ac080e/68747470733a2f2f61736369696e656d612e6f72672f612f7a6434656175305673715a30575a6643384c633430776251522e737667)](https://asciinema.org/a/zd4eau0VsqZ0WZfC8Lc40wbQR)

How to launch GCD game:
-----------------------

[](#how-to-launch-gcd-game)

After successfull installation:

```
brain-gcd

```

[![asciicast](https://camo.githubusercontent.com/459004dc6c8c25c31027934c4ff634c72cf95e138b8251ef4b529182aa6979cc/68747470733a2f2f61736369696e656d612e6f72672f612f4756417757533566324747626a4164544c75344735704c666e2e737667)](https://asciinema.org/a/GVAwWS5f2GGbjAdTLu4G5pLfn)

How to launch Progression game:
-------------------------------

[](#how-to-launch-progression-game)

After successfull installation:

```
brain-progression

```

[![asciicast](https://camo.githubusercontent.com/2e166d43b1321bc4d2be4f7cb897c41334e52683abe3ad87a660034f1f9d79f1/68747470733a2f2f61736369696e656d612e6f72672f612f7675394e46525930314356776f4d627468684867314c4842492e737667)](https://asciinema.org/a/vu9NFRY01CVwoMbthhHg1LHBI)

How to launch Prime game:
-------------------------

[](#how-to-launch-prime-game)

After successfull installation:

```
brain-prime

```

[![asciicast](https://camo.githubusercontent.com/e7efb9575f35eb8e999b386b93f1aa91b9ddb4698d59a81c416560472529f89d/68747470733a2f2f61736369696e656d612e6f72672f612f32537474596d6b4d527a634f6c7470426f6436546c536739442e737667)](https://asciinema.org/a/2SttYmkMRzcOltpBod6TlSg9D)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity69

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

Total

20

Last Release

2614d ago

Major Versions

v0.7.4 → v1.0.02019-03-15

### Community

Maintainers

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

---

Top Contributors

[![mrDenisZharkov](https://avatars.githubusercontent.com/u/40824416?v=4)](https://github.com/mrDenisZharkov "mrDenisZharkov (60 commits)")

---

Tags

projecthexletbraingames

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[phpoffice/phpproject

PHPProject - Read, Create and Write Project Management documents in PHP

20717.4k](/packages/phpoffice-phpproject)

PHPackages © 2026

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