carlcasbolt / simple-poker-game

Simple Poker Game example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple Poker Game

Build Status Coverage Status

Requirements:

  • PHP 5.6.x
  • Composer

Installation

composer install

Running the tests

php bin/phpunit

Running the poker game example

php play.php

Example Output:

------------------
Poker Game Summary
------------------
 - Player 56720116501c2
ace of spades, ace of hearts, nine of clubs, queen of diamonds, jack of hearts, ten of diamonds, seven of hearts
 - Player 5672011650b47
ten of spades, five of clubs, four of clubs, two of diamonds, jack of clubs, nine of diamonds, king of clubs
 - Player 5672011650cf5
nine of hearts, three of clubs, seven of diamonds, five of hearts, eight of spades, ace of diamonds, ten of clubs
 - Player 5672011650d9b
ten of hearts, eight of clubs, two of clubs, four of hearts, six of hearts, five of spades, three of spades

About

Simple Poker Game example


Languages

Language:PHP 100.0%