// 4. Execute if (move) console.log("Executing move:", move); performMove(move); else console.log("No moves found or board invalid.");
const tempBoard = [];