Name:_________________________________________
Date:_________________________________________
Exercises from Chapter 7 Section 2
Extra for Experts
Create a space scene with a space ship (SciFi) and a sphere (Shapes), as shown below. The sphere is a comet that is flying towards the space ship.
Create a game where the player is the captain of the ship and steers the ship, attempting to avoid collision with the comet. If the comet collides with the ship, the space ship becomes invisible and the game is over. Otherwise, if the comet travels beyond the space ship make the comet reappear in front of the spaceship to fly towards the ship again.Have the game continue until the comet hits the space ship or the user presses the Space bar to end the game.
HINTS:(Thanks to Susan Rodger of Duke University and her students for this idea.)