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

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

daemond/brain-games
===================

Mind exercises

v0.7.0(6y ago)023MITPHP

Since Aug 23Pushed 6y ago1 watchersCompare

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

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

Brain-games/php-project-lvl1
============================

[](#brain-gamesphp-project-lvl1)

Brain-games is a simple set of terminal mini-games.

[![](https://camo.githubusercontent.com/c877561084cd90a1af57620ca6043828a9991c5773f0c3cb80442eaf1b3563f0/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f65313064353166373666363866376238393961392f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/daemondw/php-project-lvl1/maintainability)

[![Build Status](https://camo.githubusercontent.com/e950a56e7cc59b9178c0ea1a894ea6fb24b7c02d2eb65221e2082b6fd13f9802/68747470733a2f2f7472617669732d63692e6f72672f6461656d6f6e64772f7068702d70726f6a6563742d6c766c312e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/daemondw/php-project-lvl1)

Instalation
-----------

[](#instalation)

Use following command to install brain-games:

```
composer global require daemond/brain-games
```

Usage
-----

[](#usage)

Brain Even Game
---------------

[](#brain-even-game)

Answer "yes" if the number is even, otherwise answer "no".

```
brain-even
```

Brain Calc Game
---------------

[](#brain-calc-game)

What is the result of the expression?

```
brain-calc
```

Brain GCD Game
--------------

[](#brain-gcd-game)

Find the greatest common divisor of given numbers.

```
brain-gcd
```

Brain Progression Game
----------------------

[](#brain-progression-game)

What number is missing in the progression?

```
brain-progression
```

Brain Prime Game
----------------

[](#brain-prime-game)

Answer "yes" if given number is prime. Otherwise answer "no".

```
brain-prime
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Total

6

Last Release

2444d ago

### Community

Maintainers

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

---

Top Contributors

[![daemondw](https://avatars.githubusercontent.com/u/33282288?v=4)](https://github.com/daemondw "daemondw (112 commits)")

---

Tags

gamebrainterminal programms

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

PHPackages © 2026

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