In this extracredit, you are going to use your project from last time to implement and use arrays.
Specifications
- Place multiple obstacles (at least 5) of different sizes and colors on the screen.
- Use arrays to create the shapes.
- Move the obstacles randomly around the screen. If they leave the screen, have them come back on the other side.
- Click the mouse to add a non-moving obstacle to the screen.
- Create an exit
- If the player gets to the exit, display a message on the screen that says you win.
- Ignore all collisions.
screenshot your results.
- Upload everything to GitHub and turn in your link.
Looking for more to do?
- Keep adding objects to the screen whenever the mouse is clicked.
- Move the objects that are added whenever the mouse is clicked.