PHPackages                             ddm14159/firstgame - 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. ddm14159/firstgame

ActiveLibrary

ddm14159/firstgame
==================

hexlet 1 project

v6.4.0(4y ago)012AGPL-3.0-or-laterPHP

Since Feb 13Pushed 4y ago1 watchersCompare

[ Source](https://github.com/ddm14159/php-project-lvl1)[ Packagist](https://packagist.org/packages/ddm14159/firstgame)[ RSS](/packages/ddm14159-firstgame/feed)WikiDiscussions main Synced 1mo ago

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

[![Actions Status](https://github.com/ddm14159/php-project-lvl1/workflows/hexlet-check/badge.svg)](https://github.com/ddm14159/php-project-lvl1/actions)[![](https://camo.githubusercontent.com/a280d799dc7054fbdaf16d343d18d98d48cde9ee7449382b7b9364cba5818c98/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f34333934316233356535313333333962636630652f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/ddm14159/php-project-lvl1/maintainability)[![main Workflow](https://github.com/ddm14159/php-project-lvl1/actions/workflows/main.yml/badge.svg?branch=main)](https://github.com/ddm14159/php-project-lvl1/actions/workflows/main.yml)

Console games project

======================

[](#console-games-project)

- Parity check
- Calculator
- Greatest common divisor
- Arithmetic progression
- Prime number

Requires
--------

[](#requires)

- wp-cli/php-cli-tools: ^0.11.13
- (dev) squizlabs/php\_codesniffer: 3.\*

Installation

-------------

[](#installation)

- `composer global require ddm14159/firstgame`

Usage

------

[](#usage)

- Parity check - `brain-even`
- Calculator - `brain-calc`
- Greatest common divisor - `brain-gcd`
- Arithmetic progression - `brain-progression`
- Prime number - `brain-prime`

ASCIINEMA
---------

[](#asciinema)

- Parity check
    [![asciicast](https://camo.githubusercontent.com/7b1bc594ccda78b453bf1fe52d347a45e831d7671fa3323ed690b2e955540f6a/68747470733a2f2f61736369696e656d612e6f72672f612f69776a5631756234394e37625a7a67376439356942397072542e737667)](https://asciinema.org/a/iwjV1ub49N7bZzg7d95iB9prT)
- Calculator
    [![asciicast](https://camo.githubusercontent.com/458478c685fc517bf8f6765eb591b867172fe06deaef65d237161ed8438d3032/68747470733a2f2f61736369696e656d612e6f72672f612f784b506173434830696c4130577979356e64526937593636342e737667)](https://asciinema.org/a/xKPasCH0ilA0Wyy5ndRi7Y664)
- Greatest common divisor
    [![asciicast](https://camo.githubusercontent.com/dac40e868a2024a18fc1cd24ee2791d97472b6b4d3a88c21e527542a6719c021/68747470733a2f2f61736369696e656d612e6f72672f612f32417632553931457a4b63355a5a595a7576334b777443334c2e737667)](https://asciinema.org/a/2Av2U91EzKc5ZZYZuv3KwtC3L)
- Arithmetic progression
    [![asciicast](https://camo.githubusercontent.com/c3e1a66ce89824acb68e60866116e072dcfb7be6a6d3ac33cb12afb9d2136186/68747470733a2f2f61736369696e656d612e6f72672f612f42797757496a4f666e41487445394a7263705a424a65526f542e737667)](https://asciinema.org/a/BywWIjOfnAHtE9JrcpZBJeRoT)
- Prime number
    [![asciicast](https://camo.githubusercontent.com/8e0013aafec7e11b77fe3dcc8f05d100616bc8a4d3c5a83723f26928450dd10d/68747470733a2f2f61736369696e656d612e6f72672f612f4276524841663173354663544e4769567568393378434431742e737667)](https://asciinema.org/a/BvRHAf1s5FcTNGiVuh93xCD1t)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

9

Last Release

1546d ago

Major Versions

1.0.0 → 2.0.02022-02-13

2.0.0 → 3.0.02022-02-13

3.0.0 → 4.0.02022-02-13

4.0.0 → 5.0.02022-02-13

5.0.0 → v6.1.02022-02-18

### Community

Maintainers

![](https://www.gravatar.com/avatar/8d527e1b4a573e56f845ab102dfa469bd8fa7175ffca9e7dfe3d80b2424a8cc0?d=identicon)[ddm14159](/maintainers/ddm14159)

---

Top Contributors

[![ddm14159](https://avatars.githubusercontent.com/u/99353550?v=4)](https://github.com/ddm14159 "ddm14159 (99 commits)")

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/ddm14159-firstgame/health.svg)

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

###  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)
