(tic-tac-toe): No longer letting old match information displayed once game is finished

This commit is contained in:
apetitco 2026-01-13 17:16:13 +01:00 committed by Maix0
parent 52746f8a7f
commit 77f24de84d

View file

@ -178,7 +178,10 @@ async function handleTTT(): Promise<RouteHandlerReturn> {
for (let idx = 0 ; idx < 9 ; idx++) {
cells[idx].innerText = " ";
};
userOString.innerText = "";
userXString.innerText = "";
currentPlayerTimer.innerText = "Waiting for match...";
currentPlayerIndicator.innerText = "";
joinQueueBtn.innerText = QueueState.Idle;
})