aboutsummaryrefslogtreecommitdiffstats
path: root/python/agent_AB.py
diff options
context:
space:
mode:
authorJack Vehmeier <vehme003@umn.edu>2021-04-27 23:08:41 -0500
committerJack Vehmeier <vehme003@umn.edu>2021-04-27 23:08:41 -0500
commit16497d70e2d4f9e7568d56e5bc791fcd0a625a4f (patch)
treeea4336d2a3baad9cc1bc2a6a7d7254eea81baf41 /python/agent_AB.py
parentChange some stuff (diff)
downloadcsci4511w-16497d70e2d4f9e7568d56e5bc791fcd0a625a4f.tar
csci4511w-16497d70e2d4f9e7568d56e5bc791fcd0a625a4f.tar.gz
csci4511w-16497d70e2d4f9e7568d56e5bc791fcd0a625a4f.tar.bz2
csci4511w-16497d70e2d4f9e7568d56e5bc791fcd0a625a4f.tar.lz
csci4511w-16497d70e2d4f9e7568d56e5bc791fcd0a625a4f.tar.xz
csci4511w-16497d70e2d4f9e7568d56e5bc791fcd0a625a4f.tar.zst
csci4511w-16497d70e2d4f9e7568d56e5bc791fcd0a625a4f.zip
alphabeta is closer
Diffstat (limited to 'python/agent_AB.py')
-rw-r--r--python/agent_AB.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/agent_AB.py b/python/agent_AB.py
index 4107156..2357d45 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.miniMax(self.game_state, 3)
+ r, c, o = self.controller.miniMax(self.game_state, 4)
return r, c, o
def end_game(self):