maverick.players.GTOBot#
- class maverick.players.GTOBot(*, uid: str | None = None, name: str, state: PlayerState | dict | None = None, **kwargs)[source]#
A bot with strategy driven by game-theory optimal solutions.
Uses hand strength evaluation to implement balanced, theoretically sound play. Makes decisions based on hand equity with consistent bet sizing and balanced ranges. Aims to be unexploitable by mixing actions appropriately.
Key Traits: Balanced ranges, mixed strategies, uses hand equity for optimal play.
Strengths: Extremely difficult to exploit, mathematically sound.
Weaknesses: May underperform in soft, highly exploitative games.
Common At: Mid-to-high stakes online.
Methods
__init__(*[, uid, state])decide_action(*, game, valid_actions, ...)Play balanced, theoretically sound poker using hand strength evaluation.
get_by_uid(uid)Get a player class by its unique identifier.
on_event(event, game)Optional hook called when a game event occurs.
to_dict()Serialize the player to a dictionary.
Attributes
cls_uididuse
uidinstead.register- decide_action(*, game: Game, valid_actions: list[ActionType], min_raise_amount: int, call_amount: int, min_bet_amount: int) PlayerAction[source]#
Play balanced, theoretically sound poker using hand strength evaluation.