[Tutor] New programmer, need some help getting started on my first project

Chris Delgado prowlerslim at yahoo.com
Thu May 18 03:09:26 CEST 2006


Kent,

>OK, just looking at this, I'm guessing that you might want some kind of 
>data to represent the players, maybe something to represent the pot, 
>maybe something to represent the cards on the table. It really depends 
>on what kind of output you want to get from this. Can you post an 
>example of the desired output?


Here is an example of the type of output I am looking for. 

First here is the hand history I used(slightly different then the othe format I showed you)

***** Hand History for Game 3736569968 *****
$100 NL Texas Hold'em - Monday, March 13, 22:21:11 ET 2006
Table Table  97262 (No DP) (Real Money)
Seat 4 is the button
Total number of players : 6
Seat 2: xxxdoinkxxx ( $133.90 )
Seat 3: zinc25 ( $57.08 )
Seat 4: UltimateGW ( $143.50 )
Seat 6: Dewez ( $101.85 )
Seat 1: vulturesrow ( $115.75 )
Seat 5: TableATM ( $69 )
TableATM posts small blind [$0.50].
Dewez is sitting out.
vulturesrow posts big blind [$1].
** Dealing down cards **
Dealt to vulturesrow [  Kd Kc ]
Dewez has left the table.
xxxdoinkxxx calls [$1].
zinc25 folds.
UltimateGW folds.
TableATM folds.
vulturesrow raises [$3].
xxxdoinkxxx calls [$3].
** Dealing Flop ** [ 9d, 5c, 3h ]
vulturesrow checks.
xxxdoinkxxx checks.
** Dealing Turn ** [ 5h ]
>You have options at Clementson (No DP) Table!.
vulturesrow bets [$6].
xxxdoinkxxx calls [$6].
** Dealing River ** [ 8s ]
>You have options at Clementson (No DP) Table!.
NL_DERB has joined the table.
vulturesrow bets [$15].
xxxdoinkxxx raises [$30].
vulturesrow calls [$15].
xxxdoinkxxx shows [ Qd, Kh ] a pair of fives.
vulturesrow shows [ Kd, Kc ] two pairs, kings and fives.
vulturesrow wins $78.50 from  the main pot  with two pairs, kings and fives.
>You have options at Clementson (No DP) Table!.


Then I ran through a converter located here: 

http://www.neildewhurst.com/hand-converter/

Party Poker
No Limit Holdem Ring game
Blinds: $0.50/$1
6 players
[url=http://www.neildewhurst.com/hand-converter]Converter[/url]

[b]Stack sizes:[/b]
UTG: $133.90
UTG+1: $57.08
CO: $143.50
Button: $69
SB: $101.85
Hero:  $115.75

[b]Pre-flop:[/b] ([i]6 players[/i]) Hero is BB with K:diamond: K:club: 
UTG calls, [i]3 folds[/i], [color:#cc0000]Hero raises to $3[/color], UTG calls.

[b]Flop:[/b] 9:diamond: 5:club: 3:heart: ([i]$6.5, 3 players[/i])
Hero checks, UTG checks.

[b]Turn:[/b] 5:heart: ([i]$6.5, 3 players[/i])
[color:#cc0000]Hero bets $6[/color], UTG calls.

[b]River:[/b] 8:spade: ([i]$18.5, 3 players[/i])
[color:#cc0000]Hero bets $15[/color], [color:#cc0000]UTG raises to $30[/color], Hero calls.

[b]Results:[/b]
Final pot: $78.5
[color:#ffffff]UTG shows  Qd Kh [/color]
[color:#ffffff]Hero shows  Kd Kc [/color]


I wont lie, I found your "simple" example a bit mind blowing, maybe I need to work through some more tutorials lol. Still plugging away, thanks so much for helping this novice out. 

Cheers,
Chris

		
---------------------------------
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20060517/627b9677/attachment.htm 


More information about the Tutor mailing list