Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Supported Games

The game='…' binding selects the poker variant. Each variant changes the deck, the number of hole cards, and the hand evaluator.

ValueVariantHole cardsDeck
holdemTexas Hold’em2Full 52
omahaPot-Limit Omaha4Full 52
shortdeckShort-Deck Hold’em236 (6s–As)

holdem is the default if game is omitted. Open PQL is currently a Hi-only implementation — Hi/Lo splits (Omaha 8, Stud 8) and stud variants (Stud Hi, Razz) are not supported.

Hold’em

Players are dealt two hole cards, share a five-card board, and use any combination of seven cards to make the best five-card hand.

select equity(hero)
from   game='holdem', hero='AhKh', villain='QQ+', board='Ah9s2c'

Omaha

Four hole cards per player. Each player must use exactly two of their hole cards and three of the board cards. Range strings still use the same notation; concrete hands require four cards (e.g. AhAsKhKs):

select equity(hero)
from   game='omaha', hero='AhAsKhKs', villain='**'

Short Deck

A 36-card deck (deuces through fives removed). Common Short-Deck rule choices apply: A-6-7-8-9 is the wheel straight, and flushes beat full houses. The prelude crate’s evaluator implements the standard ranking.

select equity(hero)
from   game='shortdeck', hero='AwAx', villain='**'

One Game per Query

Each query targets a single game. You cannot mix variants inside one query.