maverick.players.ABCBot

maverick.players.ABCBot#

class maverick.players.ABCBot(*, uid: str | None = None, name: str, state: PlayerState | dict | None = None, **kwargs)[source]#

A straightforward, textbook poker bot with little deviation.

Uses hand strength evaluation and pot odds to make solid, textbook decisions. Makes decisions based on hand equity and proper bet sizing according to standard poker theory.

  • Key Traits: Plays by the book, predictable patterns, solid fundamentals.

  • Strengths: Consistent, avoids major mistakes, uses proper hand evaluation.

  • Weaknesses: Predictable, exploitable by advanced players.

  • Common At: Low to mid-stakes games.

__init__(*, uid: str | None = None, name: str, state: PlayerState | dict | None = None, **kwargs)#

Methods

__init__(*[, uid, state])

decide_action(*, game, valid_actions, ...)

Play straightforward, textbook 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_uid

id

use uid instead.

register

decide_action(*, game: Game, valid_actions: list[ActionType], min_raise_amount: int, call_amount: int, min_bet_amount: int) PlayerAction[source]#

Play straightforward, textbook poker using hand strength evaluation.