Thread: Lab 2
View Single Post
Lab 2
Old
Ygzaw
Junior Member
 
Status: Offline
Posts: 11
Join Date: Dec 2013
Default Lab 2 - 12-26-2013, 10:40 PM

In this world, we were asked to make an object (living object is plausible) to jump and spin.
The spectator (any one who runs the program) is asked to enter number of spins. Taking this I made my penguin start flying up (flapping its wings and moving up) half way it up it starts to spin and on its way down the prescribed number of spins are completed half way down.

Then the spectator is asked if he/she likes a repeat. If the answer is "yes" - the word could be in any case (upper or lower) the penguin repeats the jump and the spin it did earlier. If the response is not yes, the penguin bows and and hopes they enjoyed it.

I liked working on this!!
   
Reply With Quote