Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davish/space-game
Asteroids or SpaceWar or something completely new.
https://github.com/davish/space-game
Last synced: 24 days ago
JSON representation
Asteroids or SpaceWar or something completely new.
- Host: GitHub
- URL: https://github.com/davish/space-game
- Owner: davish
- Created: 2015-07-12T06:07:31.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-18T21:17:55.000Z (about 9 years ago)
- Last Synced: 2024-10-15T07:45:44.495Z (2 months ago)
- Language: JavaScript
- Homepage: http://davish.github.io/space-game/
- Size: 215 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# space-game
In this game, which is something between Asteroids and Spacewar, I've implemented a bunch of space-themed sprites. There are dangerous asteroids that'll break apart when you shoot at them, stars that inexorably pull everything towards them, and, of course, your trusty spaceship that you'll use to navigate the heavens.
Gravity is pretty realistic between stars and other objects, but I plan on adding mass to asteroids and spaceships, so that everything would be affected by gravity realistically. Implementing mass for the spaceship will also open up the ability to use Newton's laws for propulsion, which would give another layer of strategy to the game: You need to conserve your fuel, and carefully mine more from asteroids to keep playing.
Though it does seem at this point that the game is leaning more towards Asteroids than Spacewar, I do plan on adding multi-player support, and, if it works logistically, online multiplayer through WebRTC or WebSockets.