bladelin / PHP-porker

showhand game practice

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PHP-porker

Thie project is a pricate unit test and class rule for porker game. showhand game practice

phpunit PokerRuleTest.php
PHPUnit 4.1.0 by Sebastian Bergmann.

Configuration read from /Users/blade/Sites/github/Porker/tests/phpunit.xml

.Player 1 : OP
        C-13
        B-10
        D-7
        D-13
        C-6
        Score : Array
(
    [type] => 2
    [num] => 13
    [color] => 4
)

Player 2 : NO
        D-2
        D-10
        C-9
        C-11
        D-1
        Score : Array
(
    [type] => 1
    [num] => 11
    [color] => 2
)

Player 3 : OP
        C-7
        H-10
        C-4
        C-10
        B-12
        Score : Array
(
    [type] => 2
    [num] => 12
    [color] => 4
)
Player 4 : NO
        C-12
        C-10
        D-8
        C-1
        D-6
        Score : Array
(
    [type] => 1
    [num] => 12
    [color] => 2
)

.TP
        B-1
        C-2
        D-1
        D-2
        D-8
        Score : 3.84


Time: 87 ms, Memory: 3.00Mb

About

showhand game practice


Languages

Language:PHP 100.0%