(tic-tac-toe): No longer letting old match information displayed once game is finished
This commit is contained in:
parent
52746f8a7f
commit
77f24de84d
1 changed files with 3 additions and 0 deletions
|
|
@ -178,7 +178,10 @@ async function handleTTT(): Promise<RouteHandlerReturn> {
|
||||||
for (let idx = 0 ; idx < 9 ; idx++) {
|
for (let idx = 0 ; idx < 9 ; idx++) {
|
||||||
cells[idx].innerText = " ";
|
cells[idx].innerText = " ";
|
||||||
};
|
};
|
||||||
|
userOString.innerText = "";
|
||||||
|
userXString.innerText = "";
|
||||||
currentPlayerTimer.innerText = "Waiting for match...";
|
currentPlayerTimer.innerText = "Waiting for match...";
|
||||||
|
currentPlayerIndicator.innerText = "";
|
||||||
joinQueueBtn.innerText = QueueState.Idle;
|
joinQueueBtn.innerText = QueueState.Idle;
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue