The Galaga game was developed by Namco LTD. Please see the Galaga Wikipedia page for further details on the game. The Galaga characters used in this implementation of the game were extracted from the images from the Wikipedia page.
This project is an educational project assigned by Udacity as part of their Front-End Web Developer Nanodegree. The project assigned is actually a horizontal/vertical movement game that did not require non-linear motion. I chose to attempt a recreation of the Galaga game for two reasons.
- Galaga was a game I played as a youth at Funland in Rehoboth Beach, Delaware. There are many fond memories of throwing shiny quarters into the slot of the Galaga game during summer vacations.
- Galaga offered an opportunity to implement non-linear movement.
For those that are fans of the Galaga game series, please accept my apologies for the poor implementation, it is after all a learning project.
There are two ways to play the game.
- Visit the demonstration website.
- Clone the repo, and load into your browser the index.html file located in the src directory.
- The fighter will move left or right by pressing the arrow keys on a standard keyboard.
- To fire missiles, press the spacebar.
The game will continue to play until the browser window is closed.
This implementation of Galaga must be played on a device with a keyboard.
The following libraries were used in the development of this game.
- Firebase JavaScript API - Used for keeping track of the high score.
- Jake Gordon's State Machine - Used to track state of the game as well as the enemies and player.