Skip to content

A game where user controls a spaceship to move around and shoot different types of enemy spacecrafts

Notifications You must be signed in to change notification settings

la-luo/GalaxyWar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Galaxy War

Game Link: https://la-luo.github.io/GalaxyWar/

play

Background and Overview

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.

Functionality & MVP

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

Wireframes

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

Architecture and Technologies

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.

Implementation Timeline

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

Bonus features

  • 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

About

A game where user controls a spaceship to move around and shoot different types of enemy spacecrafts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published