(tic-tac-toe): smol update

This commit is contained in:
apetitco 2026-01-07 22:43:18 +01:00 committed by Maix0
parent 92eb73c508
commit 1fe5d4711a

View file

@ -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 =====');