PHPackages                             rustam/php-project1 - 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. rustam/php-project1

ActiveTraining-project

rustam/php-project1
===================

hexlet-project

v1.03(6y ago)05MITPHP

Since Oct 28Pushed 6y ago1 watchersCompare

[ Source](https://github.com/Rustam-Amirov/php-project-lvl1)[ Packagist](https://packagist.org/packages/rustam/php-project1)[ RSS](/packages/rustam-php-project1/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (8)Dependencies (2)Versions (8)Used By (0)

[![Build Status](https://camo.githubusercontent.com/e0ebe2abb349edd61c9e5ad76a09e838ecd8e67b52a6365db5de2bcf9f038df4/68747470733a2f2f7472617669732d63692e6f72672f52757374616d2d416d69726f762f7068702d70726f6a6563742d6c766c312e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Rustam-Amirov/php-project-lvl1)[![Maintainability](https://camo.githubusercontent.com/6d87dcbe7545b15ede3ca22a1a0485cd53153edfc1bb054738fcaa27e8560378/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f35623964653730373965633138646635636536312f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/Rustam-Amirov/php-project-lvl1/maintainability)

Brain-games
===========

[](#brain-games)

Это учебный проект на в котором реализованы 5 игр запускаемых через консоль You can use Composer to install this application.

[![](https://camo.githubusercontent.com/09b49c52e4d6947588baa013447e7102d0e01820179391d050259c354158b29b/68747470733a2f2f61736369696e656d612e6f72672f612f5a616572475766556f74636144757674555a7a5570646666322e706e67)](https://asciinema.org/a/ZaerGWfUotcaDuvtUZzUpdff2?autoplay=1)

Game examples
-------------

[](#game-examples)

This is an example of a game in which a random arithmetic progression is created and a random number is hidden in it that needs to be guessed.

[![](https://camo.githubusercontent.com/e55f5159fa34d745b1fa4fb894f63fe4f7d19234806062349feae408f413a617/68747470733a2f2f61736369696e656d612e6f72672f612f5a43746e447a4a7148483956616c72454949494937505254372e706e67)](https://asciinema.org/a/ZCtnDzJqHH9ValrEIIII7PRT7?autoplay=1)

Example of a game that checks whether the user answered the question correctly: Is the number even?

[![](https://camo.githubusercontent.com/e15ba5a2fc884c4dcf75190592c0e7a3a5ba66ced30054c8661deedb8b9c07cf/68747470733a2f2f61736369696e656d612e6f72672f612f68656b736371594f327873486e5444585a476f534f617242542e706e67)](https://asciinema.org/a/hekscqYO2xsHnTDXZGoSOarBT?autoplay=1)

Example of a game that is waiting for a correct answer from a user to a mathematical expression.

[![](https://camo.githubusercontent.com/f82eb5c3b04ef34812c9caee7070ed25d76bd0a19cb595e717fcfe0a7e7cbe87/68747470733a2f2f61736369696e656d612e6f72672f612f314677704943346775454d474b6b644f733458464d554177682e706e67)](https://asciinema.org/a/1FwpIC4guEMGKkdOs4XFMUAwh?autoplay=1)

An example of a game in which the user must calculate and enter the largest common divisor of these numbers.

[![](https://camo.githubusercontent.com/d90f7c2fac054e41f66a24d9e93bd7360d13dca042e07f0b788debbe0afb83ae/68747470733a2f2f61736369696e656d612e6f72672f612f755678556355617369546a4a305062437345624e4f6a7971362e706e67)](https://asciinema.org/a/uVxUcUasiTjJ0PbCsEbNOjyq6?autoplay=1)

example of a game in which a random number appears and you need to determine if it is simple or not

[![](https://camo.githubusercontent.com/c8a4ccd9bb3b76304c2ba63dc619085524fa83cdaa538a8722a81a2f590248b0/68747470733a2f2f61736369696e656d612e6f72672f612f6b524845667557456b4c533657476d5676386d5936536a56592e706e67)](https://camo.githubusercontent.com/c8a4ccd9bb3b76304c2ba63dc619085524fa83cdaa538a8722a81a2f590248b0/68747470733a2f2f61736369696e656d612e6f72672f612f6b524845667557456b4c533657476d5676386d5936536a56592e706e67)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

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

Total

7

Last Release

2370d ago

Major Versions

v0.31 → v1.02019-11-03

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/41517?v=4)[Rustam Mamat](/maintainers/Rustam)[@rustam](https://github.com/rustam)

---

Top Contributors

[![Rustam-Amirov](https://avatars.githubusercontent.com/u/42617216?v=4)](https://github.com/Rustam-Amirov "Rustam-Amirov (44 commits)")

---

Tags

brain-evenbrain-calcbrain-gcdbrain-progressionbrain-prime

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/rustam-php-project1/health.svg)

```
[![Health](https://phpackages.com/badges/rustam-php-project1/health.svg)](https://phpackages.com/packages/rustam-php-project1)
```

PHPackages © 2026

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