Skip to content

Poker

This example is heads-up no-limit Texas Hold’em. Play one-on-one against a terminal bot or train policies against each other with PokerAEC. Each episode starts a fresh hand, with the default reward based on the player's net change in chips.

npm run poker
npm run bridge -- --env poker

The bridge options --rich, --extended, and --shaped enable additional observation features, more raise choices, and optional reward shaping. See RL environments for TypeScript use or connect with the Python bridge.