(tic-tac-toe): smol update
This commit is contained in:
parent
92eb73c508
commit
1fe5d4711a
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ async function handleTTT(): Promise<RouteHandlerReturn> {
|
|||
// TODO: Join queue button
|
||||
// When clicking on this button, two scenarios:
|
||||
// not in a game -> Join queue
|
||||
// In a game -> user clicking on the button loses the game and joins the queue, board is cleaned
|
||||
// In a queue -> Leave queue
|
||||
// Should I differentiate the scenarios here or inside the requestNewGame function ?
|
||||
joinQueueBtn.addEventListener("click", () => {
|
||||
console.log('===== JOIN QUEUE BUTTON PRESSED =====');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue