PHPackages                             alex-patterson-webdev/domino-game - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. alex-patterson-webdev/domino-game

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

alex-patterson-webdev/domino-game
=================================

1.0.0(5y ago)07PHPPHP &gt;=7.4CI failing

Since Jul 13Pushed 5y ago1 watchersCompare

[ Source](https://github.com/alex-patterson-webdev/domino-game)[ Packagist](https://packagist.org/packages/alex-patterson-webdev/domino-game)[ RSS](/packages/alex-patterson-webdev-domino-game/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (3)Versions (3)Used By (0)

[![Build Status](https://camo.githubusercontent.com/2913ba1d1e19cb20a8df067a750060a81439d5c7a07854cd672cf7c0536cec03/68747470733a2f2f7472617669732d63692e636f6d2f616c65782d706174746572736f6e2d7765626465762f646f6d696e6f2d67616d652e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/alex-patterson-webdev/domino-game)[![codecov](https://camo.githubusercontent.com/50dd9b1ec80f0330faf4fa64573e2365425ee15dddfa70e735e11ee4e81f2b55/68747470733a2f2f636f6465636f762e696f2f67682f616c65782d706174746572736f6e2d7765626465762f646f6d696e6f2d67616d652f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/alex-patterson-webdev/domino-game)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/56d4fd25f9157cc8e93c438a31080ade0de9e4cb4f2899fda3ed2122deac1a3a/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f616c65782d706174746572736f6e2d7765626465762f646f6d696e6f2d67616d652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/alex-patterson-webdev/domino-game/?branch=master)

Arp\\DominoGame
===============

[](#arpdominogame)

About
-----

[](#about)

An object oriented solution to the Domino scoring challenge from Resume Library.

Installation
------------

[](#installation)

Installation via [composer](https://getcomposer.org).

```
require alex-patterson-webdev/domino-game ^1

```

Installation via GitHub

```
git clone https://github.com/alex-patterson-webdev/domino-game.git

```

Usage
-----

[](#usage)

To play the Domino Game execute the `index.php` file from the command line; providing a comma separated list of players who will playing. A minimum of two and a maximum of four players names must be provided.

For example, to play with 3 players, `Fred`, `Bob` and `Alice`, use the following command.

```
php public/index.php Fred,Bob,Alice

```

The output will list, step by step, the players turns that are performed and the final winner.

Unit Tests
----------

[](#unit-tests)

PHP Unit test using [PHPUnit](https://github.com/sebastianbergmann/phpunit). Execute the tests by running the following command.

```
php vendor/bin/phpunit

```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

Unknown

Total

1

Last Release

2183d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1563851?v=4)[Alex Patterson](/maintainers/alex-patterson-webdev)[@alex-patterson-webdev](https://github.com/alex-patterson-webdev)

---

Top Contributors

[![alex-patterson-webdev](https://avatars.githubusercontent.com/u/1563851?v=4)](https://github.com/alex-patterson-webdev "alex-patterson-webdev (31 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/alex-patterson-webdev-domino-game/health.svg)

```
[![Health](https://phpackages.com/badges/alex-patterson-webdev-domino-game/health.svg)](https://phpackages.com/packages/alex-patterson-webdev-domino-game)
```

###  Alternatives

[symfony/lock

Creates and manages locks, a mechanism to provide exclusive access to a shared resource

514139.2M693](/packages/symfony-lock)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[ecotone/ecotone

Enterprise architecture layer for Laravel and Symfony — CQRS, Event Sourcing, Durable Workflows (Sagas, Orchestrators), Projections, and Outbox messaging via PHP attributes.

564576.7k53](/packages/ecotone-ecotone)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[illuminate/broadcasting

The Illuminate Broadcasting package.

7127.2M209](/packages/illuminate-broadcasting)[logiscape/mcp-sdk-php

Model Context Protocol SDK for PHP

368116.8k12](/packages/logiscape-mcp-sdk-php)

PHPackages © 2026

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