adding skip in cooldown and probing for media files

This commit is contained in:
RandyJC
2025-12-08 21:32:27 +01:00
parent ea49971609
commit 03b00b2499
6 changed files with 120 additions and 16 deletions

View File

@@ -171,6 +171,10 @@ io.on("connection", (socket) => {
withGame(gameId, socket, (game) => game.nextRound(socket))
)
socket.on("manager:skipQuestionIntro", ({ gameId }) =>
withGame(gameId, socket, (game) => game.skipQuestionIntro(socket))
)
socket.on("manager:showLeaderboard", ({ gameId }) =>
withGame(gameId, socket, (game) => game.showLeaderboard())
)