Difference between revisions of "CSC111 Final Exam 2015"

From dftwiki3
Jump to: navigation, search
Line 83: Line 83:
 
* The frog moves up or down by a fixed amount.  To make the frog move up, the user must click the mouse in the area of the window above the road.  To make the frog move down, the user clicks the mouse in the area of the window below the road.
 
* The frog moves up or down by a fixed amount.  To make the frog move up, the user must click the mouse in the area of the window above the road.  To make the frog move down, the user clicks the mouse in the area of the window below the road.
 
* The frog "dies," or loses a ''life point'' when it is run over by a car.  You are free to determine the conditions for which the program will determine that the car is running over the frog.  In the video the top or bottom of the frog can overlap slightly a car without triggering the program to detect an overlap.  There is flexibility.
 
* The frog "dies," or loses a ''life point'' when it is run over by a car.  You are free to determine the conditions for which the program will determine that the car is running over the frog.  In the video the top or bottom of the frog can overlap slightly a car without triggering the program to detect an overlap.  There is flexibility.
 
+
* The program automatically brings the frog back down, to its initial position, when a car runs over it, or when the frog has fully crossed the road.
  
  

Revision as of 14:21, 21 April 2015


...