Public | Automated Build

Last pushed: 8 months ago
Short Description
pokenum!
Full Description

docker-pokenum

build it and run it like this:

docker run -it jcheng/pokenum php -r ' dl("pokenum.so"); print_r(pokenum(PN_TEXAS, array("Ah Ac", "Kd Kc")));'

... and appreciate the wonderful world of docker. No more chef cookbook.

Array
(
    [name] => Holdem Hi
    [players] => 2
    [iterations] => 100000
    [hands] => Array
        (
            [0] => Array
                (
                    [hand] => Array
                        (
                            [0] => Ac
                            [1] => Ah
                        )

                    [win] => 81742
                    [lose] => 17778
                    [tie] => 480
                    [ev] => 0.81982
                )

            [1] => Array
                (
                    [hand] => Array
                        (
                            [0] => Kc
                            [1] => Kd
                        )

                    [win] => 17778
                    [lose] => 81742
                    [tie] => 480
                    [ev] => 0.18018
                )

        )

)
Docker Pull Command
Owner
jcheng
Source Repository