maverick.players.WhaleBot

maverick.players.WhaleBot#

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

An extremely loose bot willing to gamble large sums.

Uses hand strength evaluation but loves action and gambles anyway. Understands equity but the thrill of gambling overrides mathematical considerations. Makes huge bets regardless of hand strength.

  • Key Traits: Plays almost every hand, makes huge bets, gamblers mentality, ignores hand strength for action.

  • Strengths: Creates action, unpredictable, knows equity but doesn’t care.

  • Weaknesses: Loses money quickly, plays too many weak hands despite knowing better.

  • Common At: High-stakes games, recreational millionaires.

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

Methods

__init__(*[, uid, state])

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

Play extremely loose and gamble with large sums, using hand strength minimally.

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

Play extremely loose and gamble with large sums, using hand strength minimally.