PHPackages                             influx/php-project-lvl1 - 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. influx/php-project-lvl1

ActiveProject

influx/php-project-lvl1
=======================

math games

v1.0.2(6y ago)019MITPHP

Since Dec 10Pushed 3y ago1 watchersCompare

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

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

Simple Math Games
=================

[](#simple-math-games)

[![Maintainability](https://camo.githubusercontent.com/62a7eb8886e574ef3cb7fac060208a456410365d848a3297d3bcbe79e2771729/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f39373063636535363732326533336339626637312f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/InfluxOW/php-project-lvl1/maintainability)[![Build Status](https://camo.githubusercontent.com/7ed930ba3e601ff39ae112189503c0b8750d1c28129735b78d223c79f43e2a0b/68747470733a2f2f7472617669732d63692e6f72672f496e666c75784f572f7068702d70726f6a6563742d6c766c312e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/InfluxOW/php-project-lvl1)

Description:

$ installation process [![asciicast](https://camo.githubusercontent.com/ac5cc675dcd7155189e6a99019102052b09d84ab3bbdf06c87b00763c8bfc2f5/68747470733a2f2f61736369696e656d612e6f72672f612f4d716639615a5244486361624a4133644768447264596d55572e737667)](https://asciinema.org/a/Mqf9aZRDHcabJA3dGhDrdYmUW)
$ brain-calc game
[![asciicast](https://camo.githubusercontent.com/45cfa49bc7e472b88daf6e5213fab49983fea819f34a3cc1b9e20dccefb612fd/68747470733a2f2f61736369696e656d612e6f72672f612f7636556a5036795731793179464f55664e6e317746373458772e737667)](https://asciinema.org/a/v6UjP6yW1y1yFOUfNn1wF74Xw)
$ brain-even game
[![asciicast](https://camo.githubusercontent.com/5e04b1d00c293696a529c80ce79b3d8adeb939f78b661dc25737b2c6967a903a/68747470733a2f2f61736369696e656d612e6f72672f612f527633596363615848396f55744f7575715339463134415a752e737667)](https://asciinema.org/a/Rv3YccaXH9oUtOuuqS9F14AZu)
$ brain-gcd game
[![asciicast](https://camo.githubusercontent.com/ed3737f15c4802093976d01600baca9666dd5883b9ffdd79e3b02fe1167df6b5/68747470733a2f2f61736369696e656d612e6f72672f612f645a3767676743496d754f69724871534f5169697268326e7a2e737667)](https://asciinema.org/a/dZ7gggCImuOirHqSOQiirh2nz)
$ brain-prime game
[![asciicast](https://camo.githubusercontent.com/bcdddaf7290c2cfbb57a7d0b81ffc517ce2c0bacdff676329b8c715e7fe6ccb7/68747470733a2f2f61736369696e656d612e6f72672f612f456b366d7347754548774b49614f736b5a716e3933486a75432e737667)](https://asciinema.org/a/Ek6msGuEHwKIaOskZqn93HjuC)
$ brain-progression game
[![asciicast](https://camo.githubusercontent.com/c0a810b195e69d17f2b1aff806e48e56431ddcc7aecebf451f02dd5dc0093043/68747470733a2f2f61736369696e656d612e6f72672f612f7361366c454f7368316b436b644b454b55554c46786265546f2e737667)](https://asciinema.org/a/sa6lEOsh1kCkdKEKUULFxbeTo)
$brain-root additional game
[![asciicast](https://camo.githubusercontent.com/59baca7faae4f4ca143b7f92001dcf30f9a956a073c8f75fc222ea7aeb04a1ed/68747470733a2f2f61736369696e656d612e6f72672f612f7731623773486f54787476733851386b6f48795466517a79642e737667)](https://asciinema.org/a/w1b7sHoTxtvs8Q8koHyTfQzyd)
$ brain-random feature
[![asciicast](https://camo.githubusercontent.com/583d851987bc602e84129959677c9394a0de5fd962275f078c0b4c7cca26f764/68747470733a2f2f61736369696e656d612e6f72672f612f333242663571724776766d52345076494f7466524b6b4642782e737667)](https://asciinema.org/a/32Bf5qrGvvmR4PvIOtfRKkFBx)

How To Install
--------------

[](#how-to-install)

`composer global require influx/php-project-lvl1`

How To Run A Game
-----------------

[](#how-to-run-a-game)

run `brain-games` and then type game name

Games List With Description
---------------------------

[](#games-list-with-description)

1. *calc*
    Find the result of the expression.
2. *even*
    Answer "yes" if given number is even, otherwise answer "no".
3. *gcd*
    Find the greatest common divisor of given numbers.
4. *prime*
    Answer "yes" if given number is prime, otherwise answer "no".
5. *progression*
    Find number that is missing in the progression.
6. *root*
    Find an integer whose square is closest to the given number.

Options
-------

[](#options)

```
brain-games --random          run random game
brain-games --list            show list of games with their missions
brain-games --help            show help

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Total

3

Last Release

2348d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/53772766ae3dd0c39882ebef87d3b1feaf327d29625c94cca75732ae505f06d0?d=identicon)[Influx](/maintainers/Influx)

---

Top Contributors

[![InfluxOW](https://avatars.githubusercontent.com/u/57688681?v=4)](https://github.com/InfluxOW "InfluxOW (62 commits)")

---

Tags

binarygamemathphpphphexletstudy project

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/influx-php-project-lvl1/health.svg)

```
[![Health](https://phpackages.com/badges/influx-php-project-lvl1/health.svg)](https://phpackages.com/packages/influx-php-project-lvl1)
```

PHPackages © 2026

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