Skip to content

πŸš€ Retro Asteroids arcade game β€” HTML5 Canvas, vanilla JS, zero dependencies

Notifications You must be signed in to change notification settings

joshstewartmax/asteroids

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Asteroids

A retro-style Asteroids arcade game built with HTML5 Canvas and vanilla JavaScript.

Play it here β†’

Asteroids

Controls

Key Action
← β†’ / A D Rotate
↑ / W Thrust
Space Shoot
Enter Start / Restart

Touch controls work on mobile too β€” left/right edges to rotate, bottom half for thrust, top half to shoot.

Scoring

Asteroid Points
Large 20
Medium 50
Small 100

Running locally

Just open index.html in a browser. No build step, no dependencies.

Tech

  • Pure HTML5 Canvas + vanilla JS
  • No frameworks, no dependencies, no build tools
  • ~400 lines of code

About

πŸš€ Retro Asteroids arcade game β€” HTML5 Canvas, vanilla JS, zero dependencies

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published