This is an experimental one-dimensional shooter.
Fun facts:
- Game state is stored in a single string
- The game logic is pure javascript, no libraries involved
- Clone this repository
- Open index.html
- Enjoy the game!
Link: https://chrishurt.herokuapp.com/1D-shooter
- Consider changing game state storage to array for easier mutation
- Build more helper functions for managing game state and to aid in refactoring
- Generalise game 'board' size
- Pass all events through the tick handler for better consistency of event behaviours
Distributed under the MIT License. See LICENSE
for more information.
Chris Hurt - [email protected]