This commit is contained in:
Dragon Fire
2021-01-09 13:40:35 -05:00
parent 08c393d2c7
commit e457b55f6c
+1 -1
View File
@@ -99,7 +99,7 @@ module.exports = class TicTacToeCommand extends Command {
}
verifyWin(sides) {
const evaluated = tictactoe.boardEvaluate(this.convertBoard(sides), { computer: 'o', opponent: 'x '});
const evaluated = tictactoe.boardEvaluate(this.convertBoard(sides));
if (evaluated === 'win' || evaluated === 'loss' || evaluated === 'tie') return true;
return false;
}