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

ActiveProject

muz4k/brain-games
=================

first Hexlet project

v1.5.6(6y ago)316PHP

Since Oct 17Pushed 6y ago1 watchersCompare

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

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

brain-games
===========

[](#brain-games)

[![Maintainability](https://camo.githubusercontent.com/52a0fbd5941889ba08630c9da3930becdfd4613dfc880d95129b6bf373481263/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f36303362343937366135623739313363396262642f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/Muz4k/php-project-lvl1/maintainability)[![Build Status](https://camo.githubusercontent.com/f1a08be93929c988c5e3366f952587aa36784963f22a9e01c5b6fbbec3be1f41/68747470733a2f2f7472617669732d63692e6f72672f4d757a346b2f7068702d70726f6a6563742d6c766c312e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Muz4k/php-project-lvl1)

This is a collection of command line games, one of the projects made while learning on the Hexlet platform. [Read more about Hexlet (in Russian)](https://ru.hexlet.io/pages/about)

Installation
------------

[](#installation)

- install composer globally, if you haven’t done it before (btw, why?;D);
- install brain-games:

    `composer global require muz4k/brain-games`
- enjoy it.

How to play
-----------

[](#how-to-play)

You can choose one of the games:

- brain-even: [![brain-even](gifs/even.gif)](gifs/even.gif)
- brain-calc: [![brain-calc](gifs/calc.gif)](gifs/calc.gif)
- brain-gcd: [![brain-gcd](gifs/gcd.gif)](gifs/gcd.gif)
- brain-prime: [![brain-prime](gifs/prime.gif)](gifs/prime.gif)
- brain-progression: [![brain-progression](gifs/progression.gif)](gifs/progression.gif)

Importantly!
------------

[](#importantly)

**Don't** write `exit` at the end!

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

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

13

Last Release

2375d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/94c91a2f23be28c621912eb587eaf7a98d023bcf8a78068224fab481f470a306?d=identicon)[muz4k](/maintainers/muz4k)

---

Top Contributors

[![Muz4k](https://avatars.githubusercontent.com/u/48675446?v=4)](https://github.com/Muz4k "Muz4k (27 commits)")

---

Tags

keywordsgamesnice

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[arcanedev/seo-helper

SEO Helper is a framework agnostic package that provides tools &amp; helpers for SEO (Laravel supported).

332467.0k4](/packages/arcanedev-seo-helper)

PHPackages © 2026

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