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. alex-patterson-webdev/domino-game

ActiveLibrary

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 yesterday

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 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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

2128d 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

[elgg/elgg

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

1.7k15.7k5](/packages/elgg-elgg)[neos/flow

Flow Application Framework

862.0M451](/packages/neos-flow)[api-platform/metadata

API Resource-oriented metadata attributes and factories

223.5M96](/packages/api-platform-metadata)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28137.8k](/packages/phpro-http-tools)[flowwow/cloudpayments-php-client

cloudpayments api client

2188.2k](/packages/flowwow-cloudpayments-php-client)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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