
martynas - 2011-06-27 14:14:37 -
In reply to message 1 from Martijn Loots
Hey Martijn,
Martin is writing ;) To be honest, its Martynas in Lithuania. Thats where Im from. Was searching stuff about poker hand evaluations coz I wanted to create some php mobile site for poker playing, but failed, until I remembered that phpclasses is a nice place to find very usefull php stuff... And here I am, testing your texas holdem card dealer and evaluater.
After ~10 tries, I found out a bug, that is a bit project-biting:
tried the game for 9 players, 4 of them got 1 card of hearts,
the table cards were 4 cards of hearts, one of them - Ace of hearts.
And all 4 players were same evaluated - Winners ;)
like you understand, thats not true, one of them must be the winner, if its not straight flush, or royal flush, the highest cards are checked.
I would really like to understand your code so will try to do that, if you know the easy fix, just fix the code ;]
cheers,
great great job!!!
Martin