diff options
Diffstat (limited to '')
-rw-r--r-- | python/alphaBeta.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/python/alphaBeta.py b/python/alphaBeta.py index 31fa578..8e041fe 100644 --- a/python/alphaBeta.py +++ b/python/alphaBeta.py @@ -1,3 +1,9 @@ +from GameState import GameState +class GameController(object): + def get_next_move(self, state): + # when you get a new move, it is assumed that the game is not ended yet + assert state.get_moves() + def alpha_beta(node, alpha, beta): |