PHPackages                             integralik/braingames.localhost - 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. integralik/braingames.localhost

ActiveLibrary

integralik/braingames.localhost
===============================

v1.8.3(5y ago)025MITPHP

Since Jul 23Pushed 5y agoCompare

[ Source](https://github.com/integralik/php-project-lvl1)[ Packagist](https://packagist.org/packages/integralik/braingames.localhost)[ RSS](/packages/integralik-braingameslocalhost/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (10)Dependencies (2)Versions (19)Used By (0)

BrainGames project
==================

[](#braingames-project)

[![](https://camo.githubusercontent.com/7d3466745474d97354c07d885e90a9b550ec6977392efd42c318b68266818829/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f39643130333164613330653765623330633439302f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/integralik/php-project-lvl1/maintainability)

[![](https://github.com/integralik/php-project-lvl1/workflows/PHP%20Project%20Level1%20CI/badge.svg)](https://github.com/integralik/php-project-lvl1/workflows/PHP%20Project%20Level1%20CI/badge.svg)

With this project you can play BrainGames on your computer. When you start the game and enter your name, you see the rules of the game. You have three tries. If you are incorrect, you lose. If you are correct three times in a row, you win.

To install this project on your computer, you need Linux or MacOS. Also you need PHP 7 and Composer installed.

Setup
-----

[](#setup)

```
$ composer global require integralik/braingames.localhost
```

The global composer directory for your user has to be added to the PATH. For example:

```
$ export PATH="/home/username/.config/composer/:$PATH"
```

After that restart your session.

BrainEven game
--------------

[](#braineven-game)

To play the game, enter

```
$ brain-even
```

You have to decide whether the number is even (answer "yes") or not (answer "no"). Any other answer will also be incorrect.

[![](https://camo.githubusercontent.com/6d53ffaa084d424c19e3a7fc160a85157b7b74b19561c1060c09a2b6b516fb36/68747470733a2f2f61736369696e656d612e6f72672f612f34396f6d6544364d5873497863714d47353671616c6f3479472e737667)](https://asciinema.org/a/49omeD6MXsIxcqMG56qalo4yG)

BrainCalc game
--------------

[](#braincalc-game)

You have to calculate the result of the mathematic expressions.

[![](https://camo.githubusercontent.com/3148dde01e40cd428239f904557ddd3c513aae362b96a4190b90b33934a9252d/68747470733a2f2f61736369696e656d612e6f72672f612f7136574f64574243626c6141534846595155773158786836692e737667)](https://asciinema.org/a/q6WOdWBCblaASHFYQUw1Xxh6i)

BrainGCD game
-------------

[](#braingcd-game)

You have to calculate the great common divisor of two numbers.

[![](https://camo.githubusercontent.com/0cce86f77f8f0fa5d39005e0f0e5b8c1c23c7e93c5e2268633f68dc416c6e35c/68747470733a2f2f61736369696e656d612e6f72672f612f3372446d7172374f6e62524e4a624e6c346e70695a55624a782e737667)](https://asciinema.org/a/3rDmqr7OnbRNJbNl4npiZUbJx)

BrainProgression game
---------------------

[](#brainprogression-game)

You have to fill the omission in arithmetic progression.

[![](https://camo.githubusercontent.com/15c4d8fe13aa615e52745cfe78b8ad52b834da8d813f61626bc6a0de98b6cbf3/68747470733a2f2f61736369696e656d612e6f72672f612f34767971383361446c675254775778374e4146736e574b766c2e737667)](https://asciinema.org/a/4vyq83aDlgRTwWx7NAFsnWKvl)

BrainPrime game
---------------

[](#brainprime-game)

You have to decide whether the number is prime or not.

[![](https://camo.githubusercontent.com/d920965972edabed5f9f14d3d91f4c7b39645d988a335042905a1d8fa36b36dd/68747470733a2f2f61736369696e656d612e6f72672f612f6c57627a33494f384b576c6e744f6c38494434446b5a4e30712e737667)](https://asciinema.org/a/lWbz3IO8KWlntOl8ID4DkZN0q)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity63

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

Total

18

Last Release

2083d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/37538141?v=4)[integralik](/maintainers/integralik)[@integralik](https://github.com/integralik)

---

Top Contributors

[![integralik](https://avatars.githubusercontent.com/u/37538141?v=4)](https://github.com/integralik "integralik (52 commits)")

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/integralik-braingameslocalhost/health.svg)

```
[![Health](https://phpackages.com/badges/integralik-braingameslocalhost/health.svg)](https://phpackages.com/packages/integralik-braingameslocalhost)
```

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.0k17.2M320](/packages/wp-cli-wp-cli)[indatus/dispatcher

Schedule your artisan commands within your application's source code

1.1k855.3k2](/packages/indatus-dispatcher)[clickalicious/phpmemadmin

phpMemAdmin - Bringing Memcached to the web

5076.0k](/packages/clickalicious-phpmemadmin)[jeremykendall/password-validator

Password Validator validates password\_hash generated passwords, rehashes passwords as necessary, and will upgrade legacy passwords.

14469.9k3](/packages/jeremykendall-password-validator)[qtism/qtism

OAT QTI-SDK

86193.8k7](/packages/qtism-qtism)[niels-de-blaauw/php-doc-check

Command line tool that identifies code that needs documentation.

43236.3k4](/packages/niels-de-blaauw-php-doc-check)

PHPackages © 2026

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