Thread: Poker Hand XML
View Single Post
  #203  
Old 08-03-2007, 06:17 PM
Tickner Tickner is offline
Senior Member
 
Join Date: Mar 2006
Posts: 3,554
Default Re: Poker Hand XML

[ QUOTE ]
Can you extend your example for player A bets $50, player B raises to $150, player A raises to $500? I just want to be clear what happens when players make multiple actions in these cases and commit money more than once.

[/ QUOTE ]

<action type="bet" amount="50" playerid="playerA" />
<action type="raise" amount="150" playerid="playerB" />
<action type="raise" amount="500" playerid="playerA" />

In otherwords, a raise amount is always the total amount a player is raising to. That way we dont have to keep adding up the amounts each player has in the pot (although we have to do this anyway for some things).
Reply With Quote