Open Side Menu Go to the Top
Register
Badugi hand formatter (tabular format) Badugi hand formatter (tabular format)

12-29-2008 , 11:45 PM
I modified the triple draw hand history converter at lowballgurus to work with (limit) Badugi hand histories as well.

This is not a HTML or bbcode converter, instead it produces a text tabular format that looks like this:

Code:
Badugi  $10/$20         Poker Stars - Setebos               - 23374129299
  blinds: $5/$10          rake: $3    pot: $300
mgritter        954 T98(9)  f                                                    0
McPeanut        262 xxxx    f                                                    0
Squasher        959 xxxx    rc   0/xxxx   bc   0/xxxx   bc   0/QJT9   k        207
verybadcat     1238 xxxx    R    1/xxxx   r    1/xxxx   cc   1/42A(7) k        -90
briaann1        295 xxxx    f                                                    0
vui-qua-di      378 xxxx    SC   1/xxxx   kC   1/xxxx   kr   0/K843   k        -90
droniko         533 xxxx    Bc   2/xxxx   kf                                   -30
How to read: suits are not listed, instead we show the playable portion of the hand followed by extra ranks in parenthesis.

First column: player name
2nd: starting stack
3rd: starting hand (if known)
4th: first round action, starting with the 'S'mall and 'B'ig blinds and proceding downwards (including wraparound.) Players may chec'k', 'b'et, 'c'all, or 'raise'. 'C' or 'R' indicate a multiple-bet cold call or raise.
5th: # drawn on first draw, followed by the updated hand.
Similarly for the 2nd, 3rd, and 4th rounds of betting. The last column shows the amount won or lost on the hand by each player.

Why I like this format:
-- Compact, can view many hands per page.
-- Fairly easy to manipulate with standard text utilities (for example, to calculate BB/100 or look at various starting hands.)
-- Works on entire sessions, not just individual hands

What I don't like:
-- No per-street pot size
-- 2+2 forum's style for fixed-width 'code' tag requires scrolling to see whole plan

http://lowballgurus.com/stars-hand-c...er-badugi.html

Currently doesn't handle tournaments, just because I don't have any examples to try out. I've been meaning to adapt the code to offer an option for HTML or bb-code output, which shouldn't be hard, but it's not a big priority.
Badugi hand formatter (tabular format) Quote
12-30-2008 , 02:06 AM
Neat!!!

I put it in the FAQ.

Thanks Mark.

Buzz
Badugi hand formatter (tabular format) Quote
12-30-2008 , 02:17 PM
Beautiful job, Mark. Thanks a lot. (I like this style of output, it makes it easy to review a lot of information in a relatively compact space, and is simple to parse for database or spreadsheet.)
Badugi hand formatter (tabular format) Quote
12-30-2008 , 08:12 PM
I could email you a badugi tournament history if you care, Mark.
Badugi hand formatter (tabular format) Quote
12-31-2008 , 04:04 AM
I'm an idiot I think. "SC" should be marking the first action right? How does the small blind call as his first action?
Badugi hand formatter (tabular format) Quote
12-31-2008 , 12:10 PM
Quote:
Originally Posted by Biggle10
I'm an idiot I think. "SC" should be marking the first action right? How does the small blind call as his first action?
It has been raised twice, so his first action is to put $25 in the pot.
Badugi hand formatter (tabular format) Quote
12-31-2008 , 01:43 PM
Quote:
Originally Posted by Phat Mack
It has been raised twice, so his first action is to put $25 in the pot.
Yeah. The capitalized versions are used whenever there is a multiple-bet call, not necessarily a complete cold-call. (I'm not entirely happy with the program logic there, maybe marking only cold-calls would be better.)
Badugi hand formatter (tabular format) Quote
12-31-2008 , 01:54 PM
Quote:
Originally Posted by MarkGritter
Yeah. The capitalized versions are used whenever there is a multiple-bet call, not necessarily a complete cold-call. (I'm not entirely happy with the program logic there, maybe marking only cold-calls would be better.)
Does Pokerstove use these distinctions? I think the old IRC program capitalized all actions by the blinds, but I don't have a clear memory of this.
Badugi hand formatter (tabular format) Quote
12-31-2008 , 04:01 PM
Thanks for doing this Mark, but a small suggestion. I think it would be easier to read if it read as such:

f
f
rc
R
f
Skc
Bbc
Badugi hand formatter (tabular format) Quote
12-31-2008 , 04:22 PM
Quote:
Originally Posted by Biggle10
Thanks for doing this Mark, but a small suggestion. I think it would be easier to read if it read as such:

f
f
rc
R
f
Skc
Bbc
Is the k in Skc a check?
Badugi hand formatter (tabular format) Quote
12-31-2008 , 04:55 PM
Quote:
Originally Posted by Biggle10
Thanks for doing this Mark, but a small suggestion. I think it would be easier to read if it read as such:

f
f
rc
R
f
Skc
Bbc
I really don't see what you're going for here.
Badugi hand formatter (tabular format) Quote
12-31-2008 , 05:07 PM
Code:
Badugi  $10/$20         Poker Stars - Setebos               - 23374129299
  blinds: $5/$10          rake: $3    pot: $300
mgritter        954 T98(9)  f                                                    0
McPeanut        262 xxxx    f                                                    0
Squasher        959 xxxx    rc   0/xxxx   bc   0/xxxx   bc   0/QJT9   k        207
verybadcat     1238 xxxx    R    1/xxxx   r    1/xxxx   cc   1/42A(7) k        -90
briaann1        295 xxxx    f                                                    0
vui-qua-di      378 xxxx    SC   1/xxxx   kC   1/xxxx   kr   0/K843   k        -90
droniko         533 xxxx    Bc   2/xxxx   kf                                   -30
I read the preliminary action:

vui-qua-di posts the small blind $5;
droniko posts the big blind $10;
mgritter folds;
McPeanut folds;
Squasher raises to $20;
verybadcat raises to $30;
briaann1 folds;
vui-qua-di calls $25;
droniko calls $20;
Squasher calls $10.

Are we all in agreement here?


Edit: Here are the old IRC codes:

Code:
The betting action is encoded with a single character for each action:

        -       no action; player is no longer contesting pot
        B       blind bet
        f       fold
        k       check
        b       bet
        c       call
        r       raise
        A       all-in
        Q       quits game
        K       kicked from game

Last edited by Phat Mack; 12-31-2008 at 05:14 PM.
Badugi hand formatter (tabular format) Quote
12-31-2008 , 05:50 PM
Quote:
Originally Posted by Tapirboy
I really don't see what you're going for here.
Basically the same thing that the stud converters do.
Badugi hand formatter (tabular format) Quote
12-31-2008 , 06:14 PM
Quote:
Originally Posted by Biggle10
Basically the same thing that the stud converters do.
But it's doing that. Where the stud converter has 'i', the Badugi converter has 'S' and 'B'.
Badugi hand formatter (tabular format) Quote
12-31-2008 , 07:06 PM
Quote:
Originally Posted by Tapirboy
But it's doing that. Where the stud converter has 'i', the Badugi converter has 'S' and 'B'.
OK, I just realized how I was an idiot. The column I was looking at was for predraw. I was thinking it was the action after the first draw.

Makes much more sense now.
Badugi hand formatter (tabular format) Quote

      
m