alex-patterson-webdev/domino-game
Composer 安装命令:
composer require alex-patterson-webdev/domino-game
包简介
README 文档
README
Arp\DominoGame
About
An object oriented solution to the Domino scoring challenge from Resume Library.
Installation
Installation via composer.
require alex-patterson-webdev/domino-game ^1
Installation via GitHub
git clone https://github.com/alex-patterson-webdev/domino-game.git
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
PHP Unit test using PHPUnit. Execute the tests by running the following command.
php vendor/bin/phpunit
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2020-07-13