Skip to content

Play in browser · Arcade shooter

Retro Asteroids: Play Classic Vector Space Shooter in Browser (No Download)

Rotate, thrust, shoot. The vector arcade classic, rebuilt on canvas with the physics and inertia intact.

Running from this site

New tab

Controls: Left / Right arrow · Up arrow · Space

Play the 1979 classic Asteroids vector arcade shooter directly in your browser. Pure HTML5 canvas physics, full inertia, zero install, no flash required.

Genre
Arcade shooter
Difficulty
hard
Players
1 player
Touch
Keyboard only

Added · 2–6 minutes per run

How to play Retro Asteroids: Play Classic Vector Space Shooter in Browser (No Download)

  1. 01Rotate your ship with left/right keys and apply forward momentum with short thrust bursts.
  2. 02Blast large asteroids to split them into two medium rocks; medium rocks split into two fast small rocks.
  3. 03Beware of the flying saucer (UFO) that periodically crosses the screen firing sniper shots.
  4. 04Wrap around screen edges: moving past the left edge teleports you to the right edge.

Controls

InputAction
Left / Right arrowRotate ship angle
Up arrowFire thruster impulses
SpaceFire laser cannon
PPause game
FToggle FPS meter
GToggle collision spatial hash grid

This one needs a physical keyboard — it has no touch controls.

Asteroids is an open-source HTML5 canvas recreation of the seminal 1979 Atari vector arcade shooter, featuring authentic Newtonian physics, frictionless inertia, and 2D spatial collision detection. Developed by Doug McInnes under the MIT licence, this implementation renders sharp vector line geometry directly in the browser without third-party frameworks or external asset streaming.

Flight Dynamics & Inertial Specifications

Understanding the mathematical constraints of the vector flight model is essential to surviving beyond Wave 3:

Physics Variable Constant Value Gameplay Consequence
Rotational Speed 6 degrees per tick Dictates how rapidly you can snap aim to incoming debris
Thrust Impulse 0.2 units per tick Continuous thrust quickly creates uncontrollable linear velocity
Maximum Velocity 10 units / frame Caps top-speed drifting to prevent collision tunneling
Drag / Friction 0.0 (Pure Vacuum) Ship coasts perpetually until reverse vector impulse is applied
Laser Lifespan 30 frames (0.5s) Requires leading fast-moving targets across screen boundaries

Tactical Doctrine: Controlling Screen Entropy

The most common failure mode for beginners is panic firing. Rapidly blasting every large asteroid turns a manageable playfield into a chaotic swarm of eight high-velocity fragments:

  1. Pulse Thrusting Only: Never hold the Up Arrow. Tap thrust once or twice to establish a gentle drift vector, rotate your nose toward the center of the field, and coast.
  2. Controlled Rock Splitting: Focus on eliminating one asteroid family completely (Large -> 2 Medium -> 4 Small) before cracking open a second large rock.
  3. The Screen-Wrap Escape: The playfield is a continuous torus: crossing the top edge reappears at the bottom; crossing the left reappears on the right. When pinned against a cluster, thrust through the nearest edge to escape across the map.

Developer Diagnostic Keys

Because this project preserves the original developer debugging tools:

  • F Key: Toggles a real-time frame rate monitor to diagnose rendering performance.
  • G Key: Overlays the broad-phase spatial partition collision grid, demonstrating how the JavaScript engine culls irrelevant polygon intersection checks.

Open-Source Lineage

Vendored directly from the Doug McInnes HTML5-Asteroids repository, running on clean canvas 2D contexts with zero external tracking beacons or ad-wrapper scripts.

Retro Asteroids: Play Classic Vector Space Shooter in Browser (No Download) FAQ

How does inertia physics work in this Asteroids rebuild?
Newtonian inertia is modeled without atmospheric drag: once thrust is applied, your ship maintains directional velocity until opposing thrust is fired.
Can Asteroids be played with a gamepad or on mobile?
This version is optimized for physical keyboard controls on desktop and Chromebooks.

Source and licence

Author
Doug McInnes
Licence
MIT

Self-hosted from this domain. We never iframe a game from somebody else's server — the files above are served by us, and the licence file ships alongside them.