Skip to content

patriciacostadacruz/Hubble-s-quest

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hubble's quest

Description

After Hubble telescope was launched in 1990, alien populations have started being attacked by some alien monster. Aspart of the Independant Wizards Mission (IWM), you player is charged with a mission: go to planet BetaX-2 and kill the enemies to allow friendly and nice aliens to live in peace.

User stories MVP

Minimum user stories:

  • User can see a start screen with instructions and controls, a loosing screen and also an end game screen.
  • User can see a board with player and enemies/friends appearing from the right and a score and bullets at the left.
  • User can shoot enemies to kill them and win points.
  • User can recharge bullets.
  • User can loose if a friendly NPC is killed of if a non-friendly NPC collisions with him.

User stories Backlog

  • Trying to shoot with no bullet plays a sound effect.
  • Trying to recharge with bullets left also plays a sound effect.
  • Messages are displayed when user levels up, recharges with bullets or shoots with no bullets.
  • Level increases as the game goes.
  • NPCs go faster as level goes up.
  • User can see level showing at the bottom left of the screen.

File structure

  • index.html: contains the game basic HTML structure
  • game.js: contains all the elements for the game to work.
  • scripts.js: contains all the DOM/canvas manipulation code to start the game
  • assets.js: contains all the media needed for the game (images, sounds, etc)
  • player.js: contains the player class and methods
  • npc.js: contains the npcs class and methods
  • ovni.js: contains the ovni class
  • bullet.js: contains the bullet class and methods
  • images folder: contains all the game images
  • musics folder: contains all the game sound effects and music
  • style.css: contains the game visual design elements

Useful links

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 72.2%
  • CSS 15.8%
  • HTML 12.0%