Fixed count
This commit is contained in:
@@ -36,8 +36,8 @@ function checkWinConditions(game) {
|
||||
// 1. Wolf reaches node 0
|
||||
if (game.wolf === 0) return "wolf";
|
||||
|
||||
// 2. Turn limit (20 moves)
|
||||
if (game.moveCount >= 20) return "wolf";
|
||||
// 2. Turn limit (40 moves)
|
||||
if (game.moveCount >= 40) return "wolf";
|
||||
|
||||
// Mobility Check helpers
|
||||
const canWolfMove = board_wolf[game.wolf].some(to =>
|
||||
|
||||
Reference in New Issue
Block a user