https://github.com/outlawandy/asteroids
an ongoing experiment in canvas and javascript game development
https://github.com/outlawandy/asteroids
asteroids browser-game canvas game game-development html5-canvas javascript javascript-game js
Last synced: 8 days ago
JSON representation
an ongoing experiment in canvas and javascript game development
- Host: GitHub
- URL: https://github.com/outlawandy/asteroids
- Owner: OutlawAndy
- License: mit
- Created: 2013-10-23T03:34:46.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2022-12-27T03:02:09.000Z (over 3 years ago)
- Last Synced: 2025-02-23T11:04:45.017Z (over 1 year ago)
- Topics: asteroids, browser-game, canvas, game, game-development, html5-canvas, javascript, javascript-game, js
- Language: HTML
- Homepage:
- Size: 1.33 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
asteroids
=========
An ongoing experiment in canvas and javascript games
Movement calculation code is based on David Griffith's [animatic](https://code.google.com/p/animatic/) library.
The game can be played from the [GitHub Page](http://outlawandy.github.io/asteroids/) for this repository.
in game controls:
- `spacebar` or `f` to shoot
- `↑`&`↓` or `j`&`k` to accelerate/decelerate
- `←`&`→` or `h`&`l` to steer
- `m` to toggle the music
- `q` to quit
Games defaults to `25` asteroids, but you can change that with a query parameter. e.g. `?rocks=100`
Hope you enjoy!