USA Capitals Quest is an arcade-style HTML5 geography quiz game that challenges players to identify the capital city of all 50 U.S. states. Built as a single self-contained .html file with zero dependencies to install, it runs instantly in any modern browser on desktop or mobile.
Game Modes
Quiz Mode — A highlighted state glows gold on a live interactive D3-powered USA map while its silhouette appears on screen. Pick the correct capital from 4 multiple-choice answers before the 15-second timer runs out.
Explore Mode — Click any state on the full USA map to discover its capital city, fun facts, and geographic details. Perfect for learning before you compete.
Features
50-state multiple-choice capital quiz Interactive SVG D3 map with state silhouettes 15-second countdown timer per question 3-lives system — wrong answer or timeout costs a heart Combo multiplier scoring (×2 → ×3 → ×4 → ×5) for answer streaks Streak badge system (3+ correct in a row) Post-answer educational fun facts for every state Persistent top-5 leaderboard saved via localStorage Web Audio API synthesized sound effects (no audio files needed) Fully responsive — plays on phones, tablets, and desktops Keyboard shortcuts: keys 1–4 to answer, Esc to quit Retro pixel arcade aesthetic with scanlines, starfield, and glow effects Single HTML file — no server, no install, no dependencies
Customization Colors, timer duration, lives count, scoring, and all state data can be adjusted by editing clearly marked constants at the top of the file.
Browser Support: Chrome, Firefox, Safari, Edge (all modern versions).