211 S '05
 
Assignments
Set 1
Set 2
Set 3
Set 4
Set 5
Set 6
Set 7
Set 8
Set 9
Set 10
Set 11
Set 12
Set 13
Set 14

Problem Set 9

Due date: 3/14 @ 4:30 pm

This problem set covers abstraction and "loops" again.

HtDP Problems:

21.2.1, 21.2.2(1), 21.2.3(1)

The additional problems resume the game theme from the previous week.

Problem 4:

Design the function autos-draw, which consumes a list of Autos and places them in a 300 x 300 scene. Make the scene's background blue.

Problem 5:

Design the function autos-move, which consumes a list of Autos and produces one. In the process, it eliminates all those autos that collided with another auto.

Extra Credit Problem:

Create a world of Autos. Then add an animation function that redraws this world every .1 second. Use the functions from Problems 1 through 4.

Optional:

Please explain any problems you had completing this assignment in no more than 30 words.


last updated on Wednesday, April 13th, 2005 3:57:37pmgenerated with PLT Scheme -- (Source)