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)025MITPHPCI failing

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 3w 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 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity64

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

2130d 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.1k19.1M406](/packages/wp-cli-wp-cli)[indatus/dispatcher

Schedule your artisan commands within your application's source code

1.1k913.7k2](/packages/indatus-dispatcher)[ecoapm/libyear

A simple measure of software dependency freshness

28306.2k](/packages/ecoapm-libyear)[clickalicious/phpmemadmin

phpMemAdmin - Bringing Memcached to the web

5086.5k](/packages/clickalicious-phpmemadmin)[qtism/qtism

OAT QTI-SDK

86205.4k12](/packages/qtism-qtism)[jeremykendall/password-validator

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

14470.7k3](/packages/jeremykendall-password-validator)

PHPackages © 2026

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