In this activity you will create a platform game. To do so, complete the following steps:
- Create a sprite that falls due to gravity, that jumps when the user presses a keyboard key, and that moves left and right when the arrow keys are pressed. 
- Use a for loop to create many random obstacles that the player controlled sprite can jump on. 
- End the game if the player sprite falls off of the screen. 
- Create a sprite set of goal sprites, each at random location on the screen. When the player sprite overlaps with a goal sprite, increase the score and delete the sprite. 
- Display a congratulatory message if the player collects all of the goal sprites. Use the score variable to determine if the user has collected all of the sprites. Use the - game->spashfunction to display the message.
Submission
Please show your source code and run your scripts for the instructor or lab assistant.