Newer
Older
"""
Strategy representation and implementation (minimax, MCTS, etc...)
"""
from api import Player, Action
class Strategy:
"""
Base class for a strategy.
"""
def get_action(self, ply: Player) -> Action:
"""
Get the action to play for a player.
Args:
ply: The player
Returns:
The action to play
"""
raise NotImplementedError