]> git.cworth.org Git - lmno-server/commitdiff
Reduce end-of-game idle timer from 2 minutes to 1 minute
authorCarl Worth <cworth@cworth.org>
Mon, 9 Mar 2026 03:07:05 +0000 (23:07 -0400)
committerCarl Worth <cworth@cworth.org>
Mon, 9 Mar 2026 03:07:05 +0000 (23:07 -0400)
When Stacy and I played a game with the 2-minute timer we found we were
done long before the prompt came up to ask if we were done.

anagrams.js

index 1ec3cb4ca15e511d70af0b7ae9aa268cf261f20e..db8d23a8c92e5b0153089b912713d22430ed04e1 100644 (file)
@@ -9,7 +9,7 @@ const VOTE_TIMEOUT_MS = 15000;     /* 15 seconds to vote */
 const REVEAL_COUNTDOWN_MS = 1500;  /* 1.5 seconds to reveal a tile */
 const MIN_CENTER_TILES = 7;       /* auto-deal to maintain this many */
 const MIN_WORD_LENGTH = 4;
-const IDLE_TIMEOUT_MS = 120000;   /* 2 minutes of inactivity before warning */
+const IDLE_TIMEOUT_MS = 60000;    /* 1 minute of inactivity before warning */
 const IDLE_COUNTDOWN_MS = 10000;  /* 10 seconds to respond to warning */
 
 class Anagrams extends Game {