Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Internet Gambling > Software

Reply
 
Thread Tools Display Modes
  #1  
Old 08-01-2007, 05:03 AM
Shoe Lace Shoe Lace is offline
Senior Member
 
Join Date: Sep 2004
Posts: 585
Default Re: Poker Hand XML

I forgot a few attributes up top, but I can't edit the post.

- "table" can go in between 'site' and 'number' up top to include the table name.
- Blinds could be separated into 2 attributes ("sb" and "bb" to eliminate parsing).
- "mode" can go after the 'game' attribute. This will handle NL/Limit/PL, etc..

Play money shouldn't be an optional type. The currency should be null instead. A tournament type would ignore the currency attribute or maybe use "chips"/"c".

Then have an "extras" attribute up top to cover weird things like jackpot tables.

So... it would look like this in the end:
<font class="small">Code:</font><hr /><pre>
&lt;hand date="00/00/0000 00:00:00pm" site="Poker Stars" table="Blah" number="#0000000000" currency="$" type="Cash" seats="6" game="Texas Holdem" mode="No Limit" sb="5" bb="10" extras=""&gt;
&lt;players&gt;
&lt;seat position="1" name="Jack" stack="1000"&gt;
&lt;seat position="2" name="Jill" stack="1000"&gt;
&lt;seat position="3" name="Jim" stack="1000" holecards="Kd Qd"&gt;
&lt;seat position="4" name="Jane" stack="1000"&gt;
&lt;seat position="5" name="Joe" stack="1000"&gt;
&lt;seat position="6" name="Julie" stack="1000"&gt;
&lt;/players&gt;
&lt;action&gt;
&lt;street order="1"&gt;
&lt;position="1" action="Fold" value="0"&gt;
&lt;position="2" action="Fold" value="0"&gt;
&lt;position="3" action="Raise" value="35"&gt;
&lt;position="4" action="Call" value="35"&gt;
&lt;position="5" action="Fold" value="5"&gt;
&lt;position="6" action="Fold" value="10"&gt;
&lt;/street&gt;
&lt;street order="2" board="3d Kh Td"&gt;
&lt;position="3" action="Bet" value="60"&gt;
&lt;position="4" action="Call" value="60"&gt;
&lt;/street&gt;
&lt;street order="3" board="3d Kh Td Jc"&gt;
&lt;position="3" action="Bet" value="205"&gt;
&lt;position="4" action="Call" value="205"&gt;
&lt;/street&gt;
&lt;street order="4" board="3d Kh Td Jc 2d"&gt;
&lt;position="3" action="Bet" value="525"&gt;
&lt;position="4" action="Call" value="525"&gt;
&lt;/street&gt;
&lt;showdown&gt;
&lt;position="3" hand="[Kd Qd] Td 3d 2d (King-high Flush)" result="win"&gt;
&lt;position="4" hand="[3c 3h] 3d Kh Jc (Three of a kind)" result="muck"&gt;
&lt;award position="3" value="1660" rake="5"&gt;
&lt;/showdown&gt;
&lt;/action&gt;
&lt;/hand&gt;
</pre><hr />
Reply With Quote
  #2  
Old 08-02-2007, 01:54 AM
ThirdEye ThirdEye is offline
Junior Member
 
Join Date: Aug 2006
Posts: 8
Default Re: Poker Hand XML

i'm in the middle of coding a poker tool myself (working on it since over a year) and asked myself similar questions about the future of HH parsing.

i think inventing our own xml standard won't help that much, because this is something the pokersites should be doing...

personally, i would be MUCH MORE interested in discussing a good poker database format.

given that database format, a standard parser (dll) would be the way to go imho.

this would tremendously cut down time both for the coders and the users.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:43 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.