maverick.players.ScaredMoneyBot

maverick.players.ScaredMoneyBot#

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

A bot that plays too cautiously due to being under-rolled for the stakes.

Uses hand strength evaluation but requires extremely high equity to play. Even with strong hands, plays scared and folds to any significant pressure due to risk aversion.

  • Key Traits: Risk-averse, small bets, folds easily to pressure, requires premium equity.

  • Strengths: Survives longer, uses hand strength conservatively.

  • Weaknesses: Misses value opportunities, easily exploited, too scared even with strong equity.

  • Common At: Players playing above their bankroll.

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

Methods

__init__(*[, uid, state])

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

Play scared, risk-averse poker even with good hand strength.

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], call_amount: int, min_bet_amount: int, **_) PlayerAction[source]#

Play scared, risk-averse poker even with good hand strength.