From c8845d5432c3ed8458694b57ee96e4e0efa0960b Mon Sep 17 00:00:00 2001 From: George Eaton Date: Wed, 10 Apr 2024 11:29:17 +0100 Subject: [PATCH 1/3] WIP render timer on page This is currently rendering "15" on the page (for the initial timer number). We need to decrease it by 1 each second. This is currently separate from the XState countdown timer, but there might be a way to read this value in future. This is a first step. We've spotted a bug where this is currently rendering multiple times, but we'll solve that soon. --- client/index.html | 2 ++ client/index.ts | 14 ++++++++++++++ server/@types/events.d.ts | 1 + server/models/round.ts | 4 ++++ server/socketServer.ts | 4 ++++ 5 files changed, 25 insertions(+) diff --git a/client/index.html b/client/index.html index 99b97d04..e37954dc 100644 --- a/client/index.html +++ b/client/index.html @@ -88,6 +88,8 @@

Players

+
+