Modules§
Structs§
- Board
- Represents a poker board (flop, turn, river)
- Card
- Single Card
- Card64
- Card Set
- CardIdx
- Card index representation (0-51)
- Card
Iter - Dead
Cards - Hand
Iter - HandN
- A hand of N cards
- Hand
Rating View - a struct that decodes i16 to human readable Hand Ranking
- PQLFlop
Hand Category - PQLFraction
- PQLHand
Type - PQLHi
Rating - Hand Ranking
- PQLLo
Rating - PQLPlayer
- Rank16
- Rank Set
- Ranks
Iter - Statements
Runner - Suit4
- Suit Masks
- Suit
Mapping - Maps original suits to isomorphic suits for normalization
Enums§
- Flop
Hand Category - Hand
Type - Hand
Type Ord - A enum that handles strength of hand type for different games
- Internal
Error - PQLError
- PQLGame
- PQLRange
- PQLStreet
- PQLType
- Parse
Error - Rank
- Enum for Ranks
- Runtime
Error - Suit
- Enum for Suits
- Type
Error
Constants§
- COMB_
TWO_ RANKS_ LEN - Number of combinations of two ranks
- IDX_
RIVER - Index of the river card in a board array
- IDX_
TURN - Index of the turn card in a board array
- MASK16_
RANKS_ SHORT - Mask for shortdeck ranks in Rank16
- MASK64_
ALL_ SHORT - Mask for all suits in Card64
- MASK64_
C - Mask for clubs in Card64
- MASK64_
D - Mask for diamonds in Card64
- MASK64_
H - Mask for hearts in Card64
- MASK64_
S - Mask for spades in Card64
- N_FLOP
- Number of cards in a flop
- N_RIVER
- Number of cards in a flop + turn + river
- N_TURN
- Number of cards in a flop + turn
Functions§
- eval_
holdem7 - eval_
omaha9 - eval_
shortdeck7 - init_vm
- Panics
- to_
suitvar_ char - Converts a suit to its isomorphic character representation
- u8_
to_ suit_ str - u16_
to_ rank_ str