Skip to content

Commit

Permalink
Fixed an issue where RIT and regular street community cards would show
Browse files Browse the repository at this point in the history
  • Loading branch information
ChazDazzle committed Apr 10, 2024
1 parent b6ff060 commit e67df6e
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pyfpdb/KingsClubToFpdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,11 +437,14 @@ def markStreets(self, hand):
r"(\*\*\* BOARD 1 - RIVER \*\*\* \[(?P<FLOP1>\S\S \S\S \S\S) (?P<TURN1>\S\S)] (?P<RIVER1>\[\S\S\].+(?=\*\*\* BOARD 2 - RIVER \*\*\*)|.+))"
r"(\*\*\* BOARD 2 - RIVER \*\*\* \[(?P<FLOP2>(\S\S|\-) (\S\S|\-) (\S\S|\-)) (?P<TURN2>(\S\S|\-))] (?P<RIVER2>\[\S\S\].+))", post,re.DOTALL)
if m1:
if hand.streets.get('FLOP') is None:
if hand.streets.get('FLOP') is None or re.search(r"\*\*\* BOARD 1 - FLOP \*\*\*", post,re.DOTALL):
hand.streets.update({'FLOP1': m1.group('FLOP1'),'FLOP2': m1.group('FLOP2')})
if hand.streets.get('TURN') is None:
hand.streets['FLOP'] = []
if hand.streets.get('TURN') is None or re.search(r"\*\*\* BOARD 1 - TURN \*\*\*", post,re.DOTALL):
hand.streets.update({'TURN1': m1.group('TURN1'),'TURN2': m1.group('TURN2')})
hand.streets['TURN'] = []
hand.streets.update({'RIVER1': m1.group('RIVER1'),'RIVER2': m1.group('RIVER2')})
hand.streets['RIVER'] = []
else:
m2 = re.search(
r"(\*\*\* RIVER \*\*\* \[(?P<FLOP>\S\S \S\S \S\S) (?P<TURN>\S\S)] (?P<RIVER>\[\S\S\].+(?=\*\*\* SUMMARY \*\s?\*\*)|.+))", post,re.DOTALL)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#8777161: Pot Limit Omaha - 100/200
2024-01-30 01:52:43
Table '8 game mix' Seat 3 is the button
Seat 2: Player0 (2,492)
Seat 3: Player1 (8,000)
Seat 4: Hero (8,000)
Player0: posts ante 60
Player1: posts ante 60
Hero: posts ante 60
Hero: posts the small blind 100
Player0: posts the big blind 200
*** HOLE CARDS ***
Dealt to Player0: [X X X X]
Dealt to Player1: [X X X X]
Dealt to Hero: [7c 6c 5h Jd]
Player1 folds
Hero calls 200
Player0 checks
*** FLOP *** [8d Ts 4d]
Hero bets 396.20
Player0 calls 396.20
*** TURN *** [8d Ts 4d] [9h]
Hero bets 1,358.40
Player0 raises to 1,835.80, and is all in
Hero calls 1,835.80
Player0 shows [Kd Qc 6s Jc]
Hero shows [7c 6c 5h Jd]
*** RIVER *** [8d Ts 4d 9h] [Jh]
*** BOARD 1 - RIVER *** [8d Ts 4d 9h] [Jh]
*** BOARD 2 - RIVER *** [- - - -] [Js]
*** SUMMARY * **
Seat 2: Player0 (5,030) +2,538
Seat 3: Player1 (7,940) -60
Seat 4: Hero (5,508) -2,492
Rake 14
Player0 wins pot (5,030)

0 comments on commit e67df6e

Please sign in to comment.