The idea
Magnitudle is a small estimation game that runs in the browser. Every round asks one question: how tall, how long, how heavy? You pick from four options, get instant feedback, and read one checkable fact that explains the answer.
The whole game is built on a constraint I set early: no backend, no accounts, no tracking. If a player closes the tab, nothing about them leaves the browser. That constraint shaped every technical choice below.
The dataset comes first
An estimation game lives or dies on trust, so the facts are data, not copy. Each question is one record with a tag, four options, the index of the correct answer, and a one line fact:
{ tag: "Size It Up", q: "How tall is the Eiffel Tower?", options: ["411 m", "300 m", "224 m", "330 m"], answer: 3, fact: "The Eiffel Tower stands 330 m tall including its antennas." } The dataset is released under a Creative Commons Attribution licence, so anyone can check an answer, fix a fact, or build their own game on the same records. When a player disputes an answer, the argument ends at the dataset, which is exactly where it should end.
One question a day, deterministically
The daily question has to be the same for every player on the same day, with no server to coordinate it. The trick is to derive the question from the date itself:
function todayKey() { const d = new Date(); return d.getFullYear() + "-" + String(d.getMonth() + 1).padStart(2, "0") + "-" + String(d.getDate()).padStart(2, "0"); } The date key picks the day's question from the bank and doubles as the storage key for "already played today". Two players on two continents open the game and see the same question, and neither of them sent a single request to make that happen.
Streaks without accounts
Scores and streaks live in local storage only. A tiny wrapper hides the difference between extension storage and plain localStorage, so the same code runs in the browser game and in the Opera extension version:
const store = { get(keys) { /* chrome.storage.local, falling back to localStorage */ }, set(obj) { /* same fallback, same promise shape */ } }; Streak logic is three lines of date arithmetic: played yesterday, streak grows; missed a day, streak resets; already played today, show the result instead of a new question. No login wall ever stands between a player and the daily round.
What the anchors taught me
The hardest part was not code, it was content. A fact like "330 metres" means little until it is tied to something picturable: eleven blue whales nose to tail. Every fact in the bank now carries an anchor comparison, and the options are spread so that a good anchor gets you close even when your memory fails. Estimation improves through feedback, and anchors are what the feedback sticks to.
Try it, then break it
The game runs free at magnitudle.net with Size It Up for sizes, Weigh It Up for weights, and the daily question. If you spot a fact that looks wrong, that is the dataset doing its job: it is open, it is small, and corrections make the next player's round better.
If you have built a daily game with no backend, I would like to hear how you handled the date boundary. Time zones are the one boss fight this design cannot fully dodge.
