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

TSchauenberg,

Yes and active player is a player that receives cards.

Real good point on the blind/ante allin situations.

Not sure what you meant about the deals?

Raising:

playerA bets $50, playerB raises to $150

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

I am saying that a raise should be the amount you raise to instead of the amount that is over the current bet (I think we all agreed on this I was just makign the point in the comments of the xml to be clear).

So we do the above INSTEAD of blow..

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

I still think that returning bets should be done as an action during a round. A player who has an uncalled bet is always returned that bet on the same street that the bet is uncalled and never at showdown.

Total Pot = Pot to player + Rake
so
Rake = Total Pot - Pot to player

I think total pot should include the rake. So you are right, if you add up the amounts given to each player and then add the rake you get the value in <pots value="x">

NOTE: I don't know if I am going to be able to work on a new version until Monday. I have work to do today and then tomorrow I got on a trip for the weekend. Perhaps somebody can take what I have right now and tweak it to work for all games?
Reply With Quote