From 361ab6cdddf84d1bcdd78ba32df1082f2bf4fd2d Mon Sep 17 00:00:00 2001 From: Jack Vehmeier Date: Tue, 27 Apr 2021 11:32:47 -0500 Subject: changed the get move to minimax --- python/agent_AB.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/agent_AB.py b/python/agent_AB.py index f8cab77..4725917 100644 --- a/python/agent_AB.py +++ b/python/agent_AB.py @@ -27,7 +27,7 @@ class Agent(dba.DotsAndBoxesAgent): self.game_state.play_move(move) def next_action(self): - r, c, o = self.controller.get_next_move(self.game_state, time_allowed=self.timelimit) + r, c, o = self.controller.miniMax(self.game_state, 3) return r, c, o def end_game(self): -- cgit v1.2.3