This is the results thread for the contest at: at http://cboard.cprogramming.com/conte...mpetition.html
Three programmers participated: Daved, jdragyn and whiteflags.
Here's a result from a sample round:
To determine the winner, I ran 100 games to see who won the most. The result was:Code:+-------------+
| Hand #1 |
+-------------+
Daved with $1000 is dealt 0.0843532
jdragyn with $1000 is dealt 0.431715
whiteflags with $1000 is dealt 0.159581
jdragyn puts in $1 (blind) for a total of 1
whiteflags folds.
Daved folds.
jdragyn takes the $1 pot.
+-------------+
| Hand #2 |
+-------------+
Daved with $1000 is dealt 0.429426
jdragyn with $1000 is dealt 0.470077
whiteflags with $1000 is dealt 0.666311
whiteflags puts in $1 (blind) for a total of 1
Daved folds.
jdragyn folds.
whiteflags takes the $1 pot.
+-------------+
| Hand #3 |
+-------------+
Daved with $1000 is dealt 0.0170904
jdragyn with $1000 is dealt 0.964019
whiteflags with $1000 is dealt 0.17185
Daved puts in $1 (blind) for a total of 1
jdragyn goes all-in with $1000 to 1000
whiteflags folds.
Daved folds.
jdragyn takes the $1001 pot.
+-------------+
| Hand #4 |
+-------------+
Daved with $999 is dealt 0.763573
jdragyn with $1001 is dealt 0.760033
whiteflags with $1000 is dealt 0.703452
jdragyn puts in $1 (blind) for a total of 1
whiteflags folds.
Daved folds.
jdragyn takes the $1 pot.
+-------------+
| Hand #5 |
+-------------+
Daved with $999 is dealt 0.832331
jdragyn with $1001 is dealt 0.796228
whiteflags with $1000 is dealt 0.668783
whiteflags puts in $1 (blind) for a total of 1
Daved folds.
jdragyn goes all-in with $1001 to 1001
whiteflags goes all-in with $999 to 1000
Show your cards!
Total size of the pot is 2001
jdragyn shows 0.796228
whiteflags shows 0.668783
jdragyn (all-in) wins $1000 from whiteflags
+-------------+
| Hand #6 |
+-------------+
Daved with $999 is dealt 0.810694
jdragyn with $2001 is dealt 0.449477
whiteflags is out.
Daved puts in $1 (blind) for a total of 1
jdragyn folds.
Daved takes the $1 pot.
+-------------+
| Hand #7 |
+-------------+
Daved with $999 is dealt 0.987976
jdragyn with $2001 is dealt 0.907956
whiteflags is out.
jdragyn puts in $1 (blind) for a total of 1
Daved goes all-in with $999 to 999
jdragyn goes all-in with $2000 to 2001
Show your cards!
Total size of the pot is 3000
Daved shows 0.987976
jdragyn shows 0.907956
Daved (all-in) wins $999 from jdragyn
jdragyn shows 0.907956
+-------------+
| Hand #8 |
+-------------+
Daved with $1998 is dealt 0.311747
jdragyn with $1002 is dealt 0.0845668
whiteflags is out.
Daved puts in $1 (blind) for a total of 1
jdragyn folds.
Daved takes the $1 pot.
+-------------+
| Hand #9 |
+-------------+
Daved with $1998 is dealt 0.0577715
jdragyn with $1002 is dealt 0.371441
whiteflags is out.
Daved puts in $1 (blind) for a total of 1
jdragyn folds.
Daved takes the $1 pot.
+-------------+
| Hand #10 |
+-------------+
Daved with $1998 is dealt 0.260201
jdragyn with $1002 is dealt 0.0758385
whiteflags is out.
jdragyn puts in $1 (blind) for a total of 1
Daved folds.
jdragyn takes the $1 pot.
+-------------+
| Hand #11 |
+-------------+
Daved with $1998 is dealt 0.0833766
jdragyn with $1002 is dealt 0.572375
whiteflags is out.
Daved puts in $1 (blind) for a total of 1
jdragyn folds.
Daved takes the $1 pot.
+-------------+
| Hand #12 |
+-------------+
Daved with $1998 is dealt 0.882473
jdragyn with $1002 is dealt 0.268258
whiteflags is out.
Daved puts in $1 (blind) for a total of 1
jdragyn folds.
Daved takes the $1 pot.
+-------------+
| Hand #13 |
+-------------+
Daved with $1998 is dealt 0.916196
jdragyn with $1002 is dealt 0.368267
whiteflags is out.
jdragyn puts in $1 (blind) for a total of 1
Daved folds.
jdragyn takes the $1 pot.
+-------------+
| Hand #14 |
+-------------+
Daved with $1998 is dealt 0.366405
jdragyn with $1002 is dealt 0.798425
whiteflags is out.
Daved puts in $1 (blind) for a total of 1
jdragyn goes all-in with $1002 to 1002
Daved folds.
jdragyn takes the $1003 pot.
+-------------+
| Hand #15 |
+-------------+
Daved with $1997 is dealt 0.704672
jdragyn with $1003 is dealt 0.465835
whiteflags is out.
Daved puts in $1 (blind) for a total of 1
jdragyn folds.
Daved takes the $1 pot.
+-------------+
| Hand #16 |
+-------------+
Daved with $1997 is dealt 0.37611
jdragyn with $1003 is dealt 0.875057
whiteflags is out.
jdragyn puts in $1 (blind) for a total of 1
Daved folds.
jdragyn takes the $1 pot.
+-------------+
| Hand #17 |
+-------------+
Daved with $1997 is dealt 0.755913
jdragyn with $1003 is dealt 0.0829493
whiteflags is out.
Daved puts in $1 (blind) for a total of 1
jdragyn folds.
Daved takes the $1 pot.
+-------------+
| Hand #18 |
+-------------+
Daved with $1997 is dealt 0.438826
jdragyn with $1003 is dealt 0.973266
whiteflags is out.
Daved puts in $1 (blind) for a total of 1
jdragyn goes all-in with $1003 to 1003
Daved folds.
jdragyn takes the $1004 pot.
+-------------+
| Hand #19 |
+-------------+
Daved with $1996 is dealt 0.680746
jdragyn with $1004 is dealt 0.915342
whiteflags is out.
jdragyn puts in $1 (blind) for a total of 1
Daved folds.
jdragyn takes the $1 pot.
+-------------+
| Hand #20 |
+-------------+
Daved with $1996 is dealt 0.887082
jdragyn with $1004 is dealt 0.14481
whiteflags is out.
Daved puts in $1 (blind) for a total of 1
jdragyn folds.
Daved takes the $1 pot.
+-------------+
| Hand #21 |
+-------------+
Daved with $1996 is dealt 0.648823
jdragyn with $1004 is dealt 0.680105
whiteflags is out.
Daved puts in $1 (blind) for a total of 1
jdragyn goes all-in with $1004 to 1004
Daved folds.
jdragyn takes the $1005 pot.
+-------------+
| Hand #22 |
+-------------+
Daved with $1995 is dealt 0.305795
jdragyn with $1005 is dealt 0.345225
whiteflags is out.
jdragyn puts in $1 (blind) for a total of 1
Daved folds.
jdragyn takes the $1 pot.
+-------------+
| Hand #23 |
+-------------+
Daved with $1995 is dealt 0.354656
jdragyn with $1005 is dealt 0.182348
whiteflags is out.
Daved puts in $1 (blind) for a total of 1
jdragyn folds.
Daved takes the $1 pot.
+-------------+
| Hand #24 |
+-------------+
Daved with $1995 is dealt 0.498489
jdragyn with $1005 is dealt 0.483902
whiteflags is out.
Daved puts in $1 (blind) for a total of 1
jdragyn folds.
Daved takes the $1 pot.
+-------------+
| Hand #25 |
+-------------+
Daved with $1995 is dealt 0.555864
jdragyn with $1005 is dealt 0.0715354
whiteflags is out.
jdragyn puts in $1 (blind) for a total of 1
Daved folds.
jdragyn takes the $1 pot.
+-------------+
| Hand #26 |
+-------------+
Daved with $1995 is dealt 0.973663
jdragyn with $1005 is dealt 0.945647
whiteflags is out.
Daved puts in $1 (blind) for a total of 1
jdragyn goes all-in with $1005 to 1005
Daved puts in $1004 (check) for a total of 1005
Show your cards!
Total size of the pot is 2010
Daved shows 0.973663
jdragyn shows 0.945647
Daved wins the $2010 pot.
+-------------+
| Hand #27 |
+-------------+
Daved with $3000 is dealt 0.413862
jdragyn is out.
whiteflags is out.
Daved has 1 wins.
jdragyn has 0 wins.
whiteflags has 0 wins.
I conclude that the winner is Daved! Congratulations!Code:Daved has 85 wins.
jdragyn has 8 wins.
whiteflags has 7 wins.