maverick.players.HeroCallerBot

maverick.players.HeroCallerBot#

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

A bot that calls big bets to ‘keep opponents honest,’ often incorrectly.

Uses hand strength evaluation but makes poor calling decisions. Overestimates bluff frequency and calls large bets with marginal hands even when equity suggests folding would be better.

  • Key Traits: Calls large bets with marginal hands, suspicious of bluffs, misuses hand strength data to justify calls.

  • Strengths: Occasionally catches bluffs, uses hand evaluation.

  • Weaknesses: Loses chips to value bets, poor risk/reward decisions despite equity info.

  • Common At: All stakes, recreational players.

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

Methods

__init__(*[, uid, state])

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

Call large bets to catch bluffs, even with marginal holdings and weak equity.

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]#

Call large bets to catch bluffs, even with marginal holdings and weak equity.