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

ActiveProject

se0ga/brain-games
=================

First project on hexlet.com

0.1.19(7y ago)035PHPPHP &gt;=7.0.0

Since Jul 23Pushed 7y ago1 watchersCompare

[ Source](https://github.com/se0ga/project-lvl1-s312)[ Packagist](https://packagist.org/packages/se0ga/brain-games)[ RSS](/packages/se0ga-brain-games/feed)WikiDiscussions master Synced 4d ago

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

[![Build Status](https://camo.githubusercontent.com/1c3da2f60354860597f551fd4639f04d4aeebab0436f509d04bda02fd9813004/68747470733a2f2f7472617669732d63692e636f6d2f73653067612f70726f6a6563742d6c766c312d733331322e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/se0ga/project-lvl1-s312)[![Code Climate](https://camo.githubusercontent.com/417f198c75a6b6ad7d3f7275b4c714752c93126a08625670f783fe553166a8e5/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f73653067612f70726f6a6563742d6c766c312d733331322f6261646765732f6770612e737667)](https://codeclimate.com/github/se0ga/project-lvl1-s312)[![Issue Count](https://camo.githubusercontent.com/f525ea73a9e84dcc7440e3b7c65405ec83888df7721941425035d8501d020cc1/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f73653067612f70726f6a6563742d6c766c312d733331322f6261646765732f69737375655f636f756e742e737667)](https://codeclimate.com/github/se0ga/project-lvl1-s312)[![Test Coverage](https://camo.githubusercontent.com/3d88af3f77deae8d1bfec3c88ebac9bae256d1230b4685160c02d2f544325b81/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f73653067612f70726f6a6563742d6c766c312d733331322f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/se0ga/project-lvl1-s312/coverage)

Project Brain Games on PHP
==========================

[](#project-brain-games-on-php)

Getting Started
---------------

[](#getting-started)

### Install

[](#install)

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

### Launch

[](#launch)

1. This command will ask your name and say hello.

```
$ brain-games
```

How it works[![demo](Screenshots/brain-games.gif)](Screenshots/brain-games.gif)

2. This command will check that you know which number is even and which is not.

```
$ brain-even
```

How it works[![demo](Screenshots/brain-even.gif)](Screenshots/brain-even.gif)

3. This command will check that you remember how to make those operations +, -, \* .

```
$ brain-calc
```

How it works[![demo](Screenshots/brain-calc.gif)](Screenshots/brain-calc.gif)

4. This command will check that you remember how to find greatest common divisor.

```
$ brain-gcd
```

How it works[![demo](Screenshots/brain-gcd.gif)](Screenshots/brain-gcd.gif)

5. This command will check that you know how to balance number.

```
$ brain-balance
```

How it works[![demo](Screenshots/brain-balance.gif)](Screenshots/brain-balance.gif)

6. This command will check that you know how to find missed number in arithmetic progression.

```
$ brain-progression
```

How it works[![demo](Screenshots/brain-progression.gif)](Screenshots/brain-progression.gif)

7. This command will check that you know which number is prime and which is not.

```
$ brain-prime
```

How it works[![demo](Screenshots/brain-prime.gif)](Screenshots/brain-prime.gif)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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

Total

20

Last Release

2848d ago

### Community

Maintainers

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

---

Top Contributors

[![se0ga](https://avatars.githubusercontent.com/u/2662753?v=4)](https://github.com/se0ga "se0ga (11 commits)")

---

Tags

hexletbrain games

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

PHPackages © 2026

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