Game Link: https://la-luo.github.io/GalaxyWar/
Galaxy War is a spacecraft shooting game.
Users control a spaceship to move around and shoot enemy spaceships. There are many types of enemies differentiated by their looks, health points, speeds, bullet power and moving patterns. After destroying certain types of spacecrafts, there are drops showing up and if the user's spaceship takes it, it can increase its health points or bullet power. Additionally, users can choose the difficulty level to play the game. There is scoreboard displaying the best record as well.
In Galaxy War, users will be able to:
- Control a spaceship to move up, down, left, right
- Keep the spaceship shooting enemies
- Start, pause, restart, and reset the game
- Select game difficulty level and save scores
This app will consist of a single screen with the game board, playback controls, main menu and links to the Github, my LinkedIn.
The game board is a rectangle with longer height at the center. It has a galaxy backgound rolling when the spaceship moving forward.
Playback controls at the right bottom will include Start, Pause, Restart and Reset buttons
Main menu at the left bottom will allow users to select difficulty level or check the scoreboard
This project will be implemented with the following technologies:
- Vanilla JavaScript for overall structure and game logic,
HTML5 Canvas
for DOM manipulation and rendering,- Webpack to bundle and serve up the various scripts.
Day 1:
- Set up game backound and graph of user's and enemies' spaceships
- User can control the spaceship to move up, down, left and right
- Enemy spaceships move from top to bottom
Day 2:
- User can control the spaceship to shoot enemies
- Enemies would be destroyed when its health point reach zero
Day 3:
- Design new enemies with different moving and shooting pattern
- Certain emeny spaceship would offer drops after being destroyed
Day 4:
- User's spaceship can take the drops and gain power
- Set different numbers of enemy spaceships for different level
- Build controls for game speed, stop, start, restart, reset
Day 5:
- Create main menu, one option for selecting difficulty and one for checking scoreboard
- Add styling for bullets, spaceships and buttons
Over the weekend:
- Test the project for bugs
- Deploy the project on GitHub Pages
- Create boss enemy with most complex shooting pattern and most health points
- User's spaceship have three bombs which can destroy all enemies on gameboard