maverick.players.SharkBot

maverick.players.SharkBot#

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

A bot that adapts strategy dynamically based on opponent tendencies (exploitative).

Uses hand strength evaluation to identify exploitation opportunities. Makes aggressive plays when hand equity is strong and exploitative plays when detecting weakness. Adjusts bet sizing based on hand strength and pot size.

  • Key Traits: Strong reads, targeted adjustments, uses hand equity for exploitation.

  • Strengths: Maximizes profit against weak players, exploits based on hand strength.

  • Weaknesses: Requires constant attention and accurate reads.

  • Common At: Live games and mixed-skill environments.

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

Methods

__init__(*[, uid, state])

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

Exploit opponent weaknesses with adaptive play based on 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], min_raise_amount: int, call_amount: int, min_bet_amount: int) PlayerAction[source]#

Exploit opponent weaknesses with adaptive play based on hand strength.