feat: 2026 class will hopefully run better

This commit is contained in:
2025-12-05 22:26:30 -05:00
Unverified
parent c9b759d13f
commit 2810fb4948
4 changed files with 93 additions and 78 deletions

15
agent.py Normal file
View File

@@ -0,0 +1,15 @@
from typing import Union
class Agent:
def calculate_move(self, col: Union[int, None]) -> int:
if col is None:
# TODO: Determine what move to make when going first
raise NotImplementedError("Agent needs to implement calculate_move")
# TODO: Determine what move to make, given the opponent just played in the 'col' index of the board
raise NotImplementedError("Agent needs to implement calculate_move")
def reset(self):
# TODO: Reset the Agent's internal states for a new game
raise NotImplementedError("Agent needs to implement reset()")