How Browser Games Save High Scores Without an Account
Your best score lives in your own browser, not on a server. What that gets you, and the three ways it disappears.
You set a personal best, close the tab, come back next week and it is still there. No account, no login, nothing uploaded. Then one day you clear your browsing data and it is gone forever.
Both of those are the same mechanism working as designed. This article explains what it is, why it is used instead of a server, and what it means for your records and your privacy.
What local storage actually is
Every website your browser visits gets a small private key-value store called local storage. It holds text, it is limited to a few megabytes per site, and it persists indefinitely unless something deletes it.
A game writes to it like this in principle: under the key
ua:best:submarine-adventure:distance, store the text 1482. On your next
visit it reads that key back and displays it. That is the entire persistence system.
Two properties matter.
It is scoped to the site. Only pages on the same origin can read it. A different website cannot see what this one stored, and vice versa.
It never leaves the browser on its own. Unlike a cookie, local storage is not attached to network requests. A server receives it only if a script deliberately uploads it — and a no-account game has no reason to.
Why this is not a cookie
The distinction is genuinely important and routinely blurred.
A cookie is sent to the server with every single request to that domain. That automatic transmission is what makes cookies useful for sessions and for tracking, and it is why they attract regulation and consent banners.
Local storage stays put. Nothing is transmitted automatically. It is readable by JavaScript on the same site and by nothing else.
So a game that stores your high score in local storage is not tracking you, is not building a profile, and is not sending anything anywhere. It has written a number on your own device and will read it back next time.
This site's cookie policy covers the distinction in more detail, including the fact that it sets no cookies at all.
What a game actually stores
Very little. On this site, four kinds of key:
| Key | Holds |
|---|---|
ua:best:<game>:<metric> | Your best score, distance, depth, combo or accuracy |
ua:last:<game>:<metric> | Your most recent result, shown beside your best |
ua:favorites | A list of game slugs you starred |
ua:recent | Recently played games and timestamps |
No identifier, no name, no email, no session token, no device fingerprint. A handful of numbers and a couple of short lists. You can look at all of it yourself in your browser's developer tools under Application → Local Storage.
That inspectability is worth noting: this is the rare case where you can directly verify a privacy claim rather than take one on trust.
Why not use a server?
The honest answer is that a server would be worse for both sides.
For the player: a server needs an account. An account needs an identifier, usually an email address, which means a password, a reset flow, and a database holding personal data. All of that friction to store one number — and all of it is data that can leak.
For the site: a database is an ongoing cost and an ongoing liability. A static site with no backend cannot leak user data, because it does not have any.
The trade is a real one, though. What you give up is covered below, and it is not nothing.
The four ways your scores disappear
1. Clearing site data or browsing history. The most common. Most browsers delete local storage alongside cookies and cache when you clear browsing data, and many people do this routinely without realising what it includes.
2. A different browser or device. Local storage is per browser and per device. A score set in Chrome on a laptop does not exist in Safari on a phone. There is no sync, because there is no server to sync with.
3. Private or incognito windows. These typically get a fresh, temporary storage area that is discarded when the last such window closes. Records set there never survive.
4. The browser reclaiming space. Under storage pressure, browsers — mobile ones especially — evict data from sites you have not visited recently. A long-untouched record can vanish without you doing anything.
A fifth, less common one: browsers configured to block site data will refuse the write entirely. A well-built game wraps every read and write in error handling so it keeps working with scores simply not persisting, rather than breaking.
Can you protect a score?
Partially, and it is worth knowing the limits.
Exclude the site from clearing. Most browsers let you keep data for specific sites when clearing everything else. This is the only real protection.
Do not play in private windows if you want records to persist.
Screenshot it. Unglamorous, and the only way to preserve a number across devices.
What you cannot do is export, transfer or restore it. There is no file to copy and nothing on a server to recover from. If it is gone, it is gone, and nobody can help — which is the direct cost of the privacy benefit.
Why there are no leaderboards
It follows directly from all of the above: no scores are uploaded, so there is nothing to rank.
That is a deliberate position rather than a missing feature. Global leaderboards in browser games are also trivially cheatable — the score comes from the player's own machine, where the player can modify it — so most of them are a mix of genuine records and fabricated ones. A leaderboard nobody can trust is worse than none.
What the games here do instead is show your best and your last score side by side under every stage. That pairing is more useful than a global rank for improving, because the interesting question after a run is rarely "what is my record" but "am I getting closer to it".
What this means generally
If you play browser games elsewhere, the same reasoning applies and gives you a quick test.
A game that saves your score with no account is almost certainly using local storage, and therefore almost certainly not transmitting anything. A game that requires an account to save a score is sending it somewhere, and it is reasonable to ask what else goes with it.
You can check either in about twenty seconds: open the Network tab in developer tools and play. A game that makes no requests during play is not reporting anything, whatever its privacy policy says in either direction.
Key takeaways
- Browser games save scores in local storage: a small per-site key-value store on your device.
- It is not a cookie — nothing is transmitted automatically, and a server never sees it.
- What is stored is a handful of numbers and two short lists, inspectable in developer tools.
- No server means no account, no database and no personal data to leak.
- Scores disappear when you clear site data, switch browser or device, use a private window, or the browser reclaims space.
- Records cannot be exported, transferred or restored — that is the direct cost of the privacy.
- No uploads means no leaderboards, which also means no fake ones.
Frequently asked questions
Where are my high scores actually stored?
In your browser's local storage on your own device, under keys naming the game and the metric. Nothing is uploaded, there is no account, and no server ever receives them.
Why did my high score disappear?
Almost certainly clearing site data or browsing history, using a different browser or device, playing in a private window, or the browser reclaiming storage space. All four delete local storage, and none of them can be undone.
Can I transfer my scores to another device?
No. There is no export, no sync and no account, because the data never leaves your device. A screenshot is the only way to preserve a number across devices.
Is local storage a cookie?
No. A cookie is sent to the server with every request, which is what makes it useful for tracking. Local storage stays in the browser and is only readable by scripts on the same site — nothing is transmitted unless a script deliberately uploads it.
Can the site see my scores?
No. The games have no network code at all, which you can verify by watching your browser's network panel while playing — nothing is requested during a run. The scores exist only on your device.
Why is there no leaderboard?
Because no scores are uploaded, so there is nothing to rank. Browser-game leaderboards are also easy to falsify, since the score originates on the player's own machine — a leaderboard nobody can trust is worse than none at all.
Where to go next
The privacy policy and cookie policy both cover this from the policy side, including what would change if advertising or analytics were added. For the broader practical picture, read the complete guide to ocean and underwater browser games.
And to put a number in that storage, the high score guide covers where the points actually are.
References
- Web Storage API — MDN Web Docs
Links open on the publisher's own site. Factual claims about real oceans, depths and marine life on this page are attributed to these sources; game mechanics described on this page come from the game code on this site.