Thread: pokereval()
View Single Post
  #6  
Old 11-18-2008, 11:44 PM
Chompy Chompy is offline
\(_o)/
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
PHP Code:
function onCreated() {
  echo(
pokereval("holdem", {{"6d","qc"}, {"9c","7h"}}, {"3s","kc","10c","3d","8d"}, ""1));

Randomly goes between (1, 0) (0.5, 0.5) and (0.75, 0.25) - If i raise the iteration it will for example move up to alot of commas (0.8225,0.1775)

Was thinking of using the function for card games (poker of course ) and such and I needed a way to determine the winner of the pot
__________________
Reply With Quote