Devlog: Engineering Zero-Lag Mobile Keyboards & Server-Authoritative Timers
How fine-grained Svelte 5 runes, CSS containment, and lazy timestamp math keep battery usage low and touch response instantaneous on Android.

Every Millisecond Between Thumb and Tile Matters
In a fast word race, a 50ms input stutter breaks a player's rhythm. When building Anagram Race with Svelte 5 and Capacitor 8, we established three non-negotiable engineering rules:
1. Pointer-Down Dispatch & Zero Deep Proxies on Large Decks
Solo decks contain over 7,500 words. Wrapping static word pools in deep reactive proxies wastes megabytes of heap and triggers unnecessary garbage collection pauses. Instead, decks live in plain arrays while Svelte 5 $state and $derived runes track only the 3 visible wheel words and active keystroke buffer.
2. CSS Layout Containment on Split Keyboards
Whether playing one-handed in portrait or two-thumbed on our landscape split QWERTY layout, applying contain: layout style paint isolates button press states from reflowing the central anagram wheel.
3. Zero-Cron Lazy Timestamp Math on the Server
From match escalation intervals to our new 5-pip Stamina system, our Node.js server computes exact state via pure UTC timestamp deltas rather than background polling loops—keeping server CPU flat even as concurrent lobbies scale.
- #Devlog
- #Svelte 5
- #Performance
- #Mobile
More News
All NewsAnagram Race Update: Full-Screen Frost, 1-Guess Word Bombs & Classic Word Packs
We have overhauled multiplayer combat visuals, added high-stakes 1-guess Word Bombs with semantic clues, restored full themed Word Packs, and launched VIP Game Passes.
First Look: Anagram Scramble & Synchronous 4-Player Word Battles
Go behind the scenes on our second competitive word title—featuring Best-of-5 rounds, a 10-second tactical card draft, and millisecond first-solver lockouts.