gamesdiscordwebeducation
Guess the District (ZILA?)
A bilingual English and Hindi geography game: read sourced clues about one of India's 784 districts, then name it by search or on the map.
The Problem
Geography quizzes are easy to cheat when the answer ships to the browser, and a daily puzzle is spoiled if anyone can predict it.
The Solution
Built a static Next.js PWA with MapLibre and a Hono API on Node. The client never sees the answer or unrevealed clues; daily picks come from a keyed HMAC.
Impact & Results
1,600+ games and 1,200+ players since Nov 2026, with a daily mystery, practice, and friend battles on the web, as a PWA, and in Discord.
784 districts with sourced clues in English and Hindi
Atomic Redis compare-and-set per guess, results written in one Postgres transaction
HMAC-keyed daily picks that can't be predicted from public code
Content linter that blocks clues leaking the answer
Tech Stack
Next.jsTypeScriptMapLibre GLHonoRedisPostgreSQLSupabasePlaywright
Links