Poker Gameplay Example

Description

Poker is a strategic two-player Texas Hold'em game where players compete by betting chips based on their hole cards and community cards. Each player aims to win chips by either having the best hand at showdown or making their opponent fold. The game follows standard Texas Hold'em rules with a fixed number of rounds and betting structures.

Action Space

Actions are strings representing poker actions with specific tokens for each move type.

Special Tokens:

  • [Check]: When there's no bet to call
  • [Call]: Match the current bet
  • [Fold]: Give up the current hand
  • [Bet <amount>]: Make a new bet (e.g., [Bet 100])
  • [Raise <amount>]: Increase an existing bet (e.g., [Raise 200])

Example Actions:

  • "The pot odds aren't good enough. [Fold]"
  • "I'll match that. [Call]"
  • "[Bet 150] Let's see how you respond to aggression"
  • "Nothing to call. [Check]"
  • "Too small. [Raise 300]"

Observation Space

Players receive continuous updates about the game state, including their hole cards, visible community cards, pot size, and betting actions.

Initial Game Observation

Welcome to Texas Hold'em Poker! You are Player {player_id}.

Game Information:
- This is a {num_rounds}-round game
- Each player starts with {starting_chips} chips
- Small blind is {small_blind} chips
- Big blind is {big_blind} chips

Game Flow:
1. Each player receives 2 hole cards
2. Betting rounds: Pre-flop → Flop (3 cards) → Turn (1 card) → River (1 card)
3. Players must call the current bet to stay in the hand

Available Actions:
  [Check] - When there's no bet to call
  [Call] - Match the current bet
  [Fold] - Give up your hand
  [Bet <amount>] - Make a new bet, e.g. [Bet 100]
  [Raise <amount>] - Increase the current bet, e.g. [Raise 200]

Winning:
- Best poker hand wins the pot
- Game ends when rounds are complete or a player runs out of chips
- Player with the most chips at the end wins

Gameplay

  • Players: 2
  • Rounds: Configurable number of hands to play
  • Starting Stack: Each player begins with a set amount of chips
  • Blinds: Fixed small and big blind amounts
  • Betting Rounds: Pre-flop, Flop, Turn, and River
  • Objective: Win the most chips through showdowns or making opponents fold

Hand Rankings

From highest to lowest:

  1. Straight Flush
  2. Four of a Kind
  3. Full House
  4. Flush
  5. Straight
  6. Three of a Kind
  7. Two Pair
  8. One Pair
  9. High Card

Variants

Env-idnum_roundsstarting_chipssmall_blindbig_blind
Poker-v051,0001020
Poker-v0-long155,0002040
Poker-v0-super-long5010,0004080

Contact

If you have questions or face issues with this specific environment, please reach out directly to Guertlerlo@cfar.a-star.edu.sg