We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3052ad9 commit fb0a556Copy full SHA for fb0a556
tictactoe/7/script.js
@@ -89,7 +89,7 @@ function checkTie() {
89
}
90
91
function minimax(newBoard, player) {
92
- var availSpots = emptySquares(newBoard);
+ var availSpots = emptySquares();
93
94
if (checkWin(newBoard, huPlayer)) {
95
return {score: -10};
0 commit comments