#DHSeaDev — Chrome MV3 — Side Panel Extension
Cobalt Star Idle
Cobalt Star Idle is a cosmic idle RPG that runs in your Chrome side panel — gather star fragments, power up abilities, and prestige through the deep reaches of the cosmos.
From the Chrome Web Store listing
Cosmic Progression
Star Fragments
The core idle currency — accumulate passively and spend on upgrades, abilities, and prestige unlocks.
Abilities
Unlock and upgrade a roster of star-powered abilities. Each run opens new build paths.
Prestige
Reset your run to earn permanent upgrades that compound across every subsequent loop.
Offline Accrual
Progress continues while you are away. Return to a cache of resources ready to spend.
What was hard about it
The hard part of an idle game is not the idling, it is the arithmetic that happens while nobody is watching. Cobalt Star accrues resources offline, which means the game has to reconcile “how long was I away” against “what did I already pay you for” every time it wakes.
That reconciliation is where the real defect lived: a storage race that could double-count accrual, crediting the same elapsed window twice when two contexts woke close together. It is invisible in ordinary play and obvious in a headless simulation that fast-forwards days of play in milliseconds, which is how it was found.
The lesson generalised past this game. Any accrual that reads a timestamp, computes a delta, and writes a new timestamp is a read-modify-write, and read-modify-write across two contexts is a race unless you make it one.
Read more
Launch writeup · Case studies · Short answers · All projects
Privacy Policy
This extension stores all data locally in your browser. No data leaves your device. No accounts, no telemetry, no analytics, no third-party services.
Contact: dhseadev@gmail.com