Computer science and IT assignments Undergraduate

Alice Programming Assignment 4

(Please use Alice software)

Create a method that performs an animation appropriate for the ride object selected.(found in attachment)

  Then create a way to start and stop the ride using the “While something is true “EVENT”  (do not use a while statement). Use an object other than the spacebar to stop/start the ride.

Create instructions to inform the user how to start and stop your ride object.  Include comments for each major instruction in your program.

Hints:

The animation for the ride object must not have any loops on its implementation.
The loop action is performed by the “While something is true” EVENT.
There should be only ONE “When the mouse is clicked on something” event or “When a key is typed” event.
There should be at least one method called
The user has to have the ability to start/stop the ride as many times as she/he desires.
Think about a switch: when it is on, the ride starts; and when it is off, it stops.