Skip to content

Commit 16b5c65

Browse files
Update AI.py
1 parent 332da46 commit 16b5c65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

2048/AI.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ def minnieMoveAlphaBetaImportance(self, depth, alpha, beta, importance):
383383
actions.append((index, 2))
384384
actions.append((index, 4))
385385

386-
if not actions: return bestScore, bestAction
386+
if not actions: return self.evaluate(), None
387387

388388
bestScore, bestAction = self.evaluate(), None
389389
for action in actions:

0 commit comments

Comments
 (0)