Difference between revisions of "CSC111 Final Exam 2015b"

From dftwiki3
Jump to: navigation, search
Line 205: Line 205:
 
<br />
 
<br />
 
* Call your program '''final3.py'''
 
* Call your program '''final3.py'''
* You '''must''' use objects to define the cars.
+
* You '''must''' use objects to define the cars.  Your program should implement cars going both sides of the road, in opposite directions.
 
* The number of cars used by the program is fixed and does not grow as the game evolves.  In the video, the number of cars is 3, but you can use more.  When a car disappears on one end of the screen it reappears on the other side, after a short delay.  The delay is up to you.
 
* The number of cars used by the program is fixed and does not grow as the game evolves.  In the video, the number of cars is 3, but you can use more.  When a car disappears on one end of the screen it reappears on the other side, after a short delay.  The delay is up to you.
 
* 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.

Revision as of 08:30, 12 December 2015

--D. Thiebaut (talk) 21:22, 6 December 2015 (EST)



...