COSMIC DODGE ▶ Play

About Cosmic Dodge

A small browser arcade game about one thing: surviving a missile storm that never stops getting worse.

What it is

Cosmic Dodge is free, runs in any modern browser, and needs no download, plugin, or account. You steer a single ship inside a starfield while missiles converge from every direction. Your score is simply how long you last, measured to a hundredth of a second. Your ten best runs are saved on your own device.

How it is built

The interface is React. The game itself is a plain HTML5 canvas — no game engine, no sprite assets, no external libraries at runtime. Missiles are drawn as dots with motion streaks, which is why hundreds of them can share the screen without the frame rate collapsing.

Under the hood, the rules of the game are isolated in a deterministic simulation that runs on a fixed 60 Hz timestep and uses a seeded random number generator. Given the same seed and the same inputs, a run replays identically anywhere — on a phone, on a desktop, or on a server. That property exists so that recorded runs can be verified rather than trusted, which is the groundwork for a future global leaderboard.

Why the playfield has borders

The play area is always 1280×720 in logical units, scaled to fit your window rather than stretched to it. On a tall or unusually wide screen you will see empty margins. That is deliberate: if the field grew with the window, a larger monitor would mean more room to dodge and every recorded time would mean something different. Fixing the field keeps one second worth the same on every device.

Privacy in short

There are no accounts, and your best times never leave your browser. Visits are counted with Google Analytics, and ads are served by a third party — both are described in the privacy policy.

Contact

Bug reports, ideas, or business enquiries: shin2180@gmail.com.

← Back to the game