Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jmromer/asteroids
The classic arcade game, in your browser.
https://github.com/jmromer/asteroids
canvas game javascript
Last synced: 3 days ago
JSON representation
The classic arcade game, in your browser.
- Host: GitHub
- URL: https://github.com/jmromer/asteroids
- Owner: jmromer
- Created: 2013-11-09T22:41:37.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-04-06T23:35:29.000Z (almost 10 years ago)
- Last Synced: 2024-11-13T19:25:41.755Z (2 months ago)
- Topics: canvas, game, javascript
- Language: JavaScript
- Homepage: http://jkrmr.github.io/Asteroids
- Size: 564 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Asteroids
=========The classic arcade game, sped up, written in plain JavaScript using HTML5 Canvas.
## Features
* "Drag" (er..no drag in space...reverse thrusters?) for natural-feeling ship motion
* Increasing number of asteroids with every new level
* Shiny Space Bullets™ implemented with some Canvas shadow-property trickery.## Dependencies
Uses Thomas Fuchs's [KeyMaster](https://github.com/madrobby/keymaster) library.
The game also renders much better on WebKit browsers (e.g., Safari and Google Chrome) than on Firefox.
## Acknowledgements
Mark Pilgrim's [Dive Into HTML5](http://diveintohtml5.info) tutorial and
Marijn Haverbeke's [Eloquent JavaScript](http://eloquentjavascript.net/contents.html) were
great resources in creating this.## Future additions
* Asteroids breaking up into smaller asteroids upon being shot
* Asteroids created with random size
* Asteroids created with jagged edges
* Game music!