https://pandemic-ironhack.netlify.app/
First Ironhack project, a game using canvas HTML
//Describe the concept of the game ---
The player needs to protect themself from the coronaviruses that are falling from above. As their only weapon, they has a spray bottle of hand sanitizer.
// Describe components ---
Above they are different sizes of coronaviruses. On the bottom they are a player and/or a bottle of hand sanitizer. A score bar with the level of immunity.
// What are the actions of the player ---
Move left (left arrow), move right (right arrow), and shoot up (space bar).
// How do you earn points ---
Shooting directly to the coronaviruses you protect your immunity. It takes a shoot to fulminate a coronavirus. Each coronavirus shot makes the player's immunity grows.
// When do you win/lose ---
If the player gets hit by 4 viruses, the player goes to Intensive care. If the player gets hit for a 5th time, the player dies by OVEREXPOSURE.
// User interface: what are the main screens ---
****** First screen shows: ******
- name of the game
- instructions of the game
- name of the creators
- a START button
--- once START is pressed --------->
****** Second screen shows: ******
- a background image of the inside of a blood vessel
- the bar of the immunity score
- the player on the bottom
- the coronaviruses coming from the top
- outside the canvas frame: instructions of the game
--- once player looses all the immunitinty --------->
****** Third screen shows: ******
- a big image of a mean coronavirus appears looking at YOU!