WEEK: 11
Active: October 26th - November 1st
Work Due: November 2nd @ 11:59PM

Homework

For this homework, you are going to create a spore-like game. It should be made up of a bunch of simple shapes (they can be the same or different). After you place them on the screen, you should move them around the screen randomly. If they leave the screen, you should have them go to the other side of the screen. You should also have a way to place an obstacle onto the screen with your mouse. Once the player moves off the screen through the exit, you should display a message that says “You Win!”. Don’t worry about any collisions.

Homework Walkthrough Video

Homework Example

Specifications

  1. Create a canvas
  2. Create a player.
  3. Move the player using the keyboard.
  4. Place multiple obstacles (at least 2) of different sizes and colors on the screen.
  5. Move the obstacles around randomly around the screen. If they leave the screen, have them come back on the other side.
  6. Clicking the mouse adds a non-moving obstacle to the screen.
  7. Create an exit
  8. If the player gets to the exit, display a message on the screen that says you win.
  9. Must use if/else, if and else if statements.
  10. Must use logical operators. (at least one of them)
  11. Ignore all collisions.
  12. Take the Kahoot Quiz
  13. Upload everything to your repository and turn in your link.

Previous section:
Next section: