Rocktastic
A daily geography game: fly a rocket from the Moon back to Earth by answering 6 questions on a globe with no names. Every question has many correct countries, and the rarer your correct pick, the more fuel you earn.
From the Moon to Earth in 6 questions. The rarer your correct answer, the more fuel.
About the game
Rocktastic is a daily geography game in the spirit of Wordle, with a twist: every question (“Click a country the Danube flows through”) has 5–15 correct answers, and you’re rewarded for picking the one nobody else thinks of. Your rocket’s fuel depends on how rare your correct answer was. There are five tiers, from Common to ROCKTASTIC, calculated live from all players’ answers. Collect enough fuel over 6 questions to land on Earth; the landing grade depends on your total.
Players point at countries on a 3D globe without any labels. Paid “telescopes” help when stuck: terrain, country names, or an “Earth eclipse” that darkens the globe except a circle containing a correct answer. A second edition, Europe, uses a flat 2D map and adds capital-city questions. The Astronaut’s Log is a notebook-style diary with an opening 3D cover. It keeps the last 5 days (all replayable), tier breakdowns of every answer, and bronze/silver/gold badges. Live duels let friends play 5 rounds in real time with an invite code and a GeoGuessr-style clock that speeds up once someone answers.
New questions are written every night at 23:59 by a scheduled Claude cloud agent. It takes random trivia clues from the TriviaQA dataset, turns each clue’s theme into a new country-set question in English and Polish, and orders the answers from obvious to obscure. A validation script then checks every question before it’s published.
Rocktastic is also on iPhone, on the App Store, and on itch.io. The iOS version is just as polished as the web version: the same daily missions, World and Europe editions, telescopes, Astronaut’s Log and live duels – and duel invites work there too.
Daily mission
6 questions with many correct countries each. Rarity-based scoring in 5 tiers, live from all players.
Globe and map
3D globe for the World edition and a flat 2D map for Europe, with capital-city questions.
Telescopes
Hints: terrain, country names, or an Earth-eclipse circle computed server-side without revealing the answer.
Astronaut’s Log
3D opening cover, 5 days back (replayable), tier breakdowns and badges.
Live duels
Invite code, temporary nicknames and a GeoGuessr-style timer – with no game server.
Two languages
English and Polish, with a language switch and localized map labels.
Synthesized sound
Soft sound design built with the Web Audio API, no audio files.
AI question pipeline
Scheduled Claude agent + TriviaQA seeds + automatic validation.
On iPhone
An App Store app as good as the web version, with working duel invites.
How it works
- Rarity is computed in PostgreSQL: each country’s share of all players’ picks, blended with an estimated starting share until real data arrives. Every question is guaranteed at least one ROCKTASTIC (+5) answer.
- The “Earth eclipse” hint is computed in the database: a deterministic, offset circle around a random non-obvious correct country. Only the centre and radius are sent to the browser.
- The duel has no game server. The room creator’s browser runs the rounds over a Realtime channel, and answers are scored by a read-only database function that saves nothing.
Built with
- Frontend
- Next.js 16 (App Router,
/enand/plroutes), React 19, TypeScript, Tailwind CSS 4 - Maps
- MapLibre GL (globe and Mercator projections) with Natural Earth data, preprocessed with mapshaper
- Backend
- Supabase (PostgreSQL). All game logic is in database functions, and tables are locked with Row Level Security, so the browser never sees correct answers before answering.
- Multiplayer
- Supabase Realtime (broadcast + presence channels)
- Content
- Scheduled Claude cloud agent, TriviaQA dataset (Hugging Face), Node.js validation and publishing script
- Audio
- Web Audio API (all sounds generated in code)
- Hosting
- Vercel + Supabase, entirely on free tiers