// After round finishes, reset turn to p1 and clear pending move currentTurn = "p1"; pendingMove = null; waitingForMove = true; // ready for new round updateActiveHighlight();
canvas background-color: #333; display: block; 2 player github.io
animationId = requestAnimationFrame(loop); // After round finishes, reset turn to p1
startBtn.addEventListener('click', startGame); // After round finishes