diff --git a/frontend/src/pages/ttt/ttt.ts b/frontend/src/pages/ttt/ttt.ts index ad634bb..c44b0f8 100644 --- a/frontend/src/pages/ttt/ttt.ts +++ b/frontend/src/pages/ttt/ttt.ts @@ -169,6 +169,9 @@ async function handleTTT(): Promise { socket.on('gameEnd', () => { curGame = null; + for (let idx = 0 ; idx < 9 ; idx++) { + cells[idx].innerText = " "; + }; currentPlayerTimer.innerText = "Waiting for match..."; joinQueueBtn.innerText = QueueState.Idle; })