Files
pokerfreak/arena/exploit/bots/ctl_quickstart.py
T

11 lines
360 B
Python

"""Function-only SDK quickstart control: safe to import for offline pipe evaluation."""
from sharingan import Action
def act(s):
if s.legal.raise_ and s.hole_cards[0][0] in "AK":
return Action.raise_to(3 * s.big_blind)
if s.legal.check:
return Action.check()
return Action.call() if s.pot_odds < 0.25 else Action.fold()