Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spaceInvaders

Pseudo code:

Main goals:

  1. Create a canvas and a black background.

  2. Create a ship at the bottom of the screen.

  3. Allow that ship to move to the left or right when the user clicks on the approprate keyboard button.

  4. When the user clicks on the space bar, allow for a projectile to shoot from the ship upward.

  5. Create an enemy that can be destroyed when the projectile hits it.

  6. Display a win screen if enemy has been destroyed.

Extra credit:

  1. Allow the enemy to move in a pattern similar to traditional space invaders.
  2. Allow the enemy to be able to hurt the player when touched (one hit kills are ok)
  3. Create a way to reset the board
  4. Track the users score
  • Number of hits
  • Number of ships remaining
  1. Randomize enemy speed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages