CS1 - 0910 - March
From WLCS
Contents
Wednesday - Friday (3/24/10 - 3/26/10)
Regular:
IB:
- Closed-book Strings
- Open-book Strings
- Closed-book Lists (you may optionally take this on Friday)
Monday (3/22/10)
- 3rd Quarter Exam Review
Tuesday - Thursday (3/16/10 - 3/18/10)
Regular:
- Complete Item collection game
IB:
- Complete List Exercises
Tuesday - Friday (3/2/10 - 3/12/10)
Warmup:
- Obtain three thumbnail pictures:
- One picture for your player (a sprite of some sort)
- One picture for your items
- One picture for your mines
Regular:
- Finding sprites and using Image()
- Item collection game
- Go to HTTLACS: Ch 8 and go to section 8.8
- Use the simple Catch version in 8.8 as a starting point
- Replace all your ball, ball_x, and ball_y variables with item, item_x, and item_y
- Replace all your mitt, mitt_x, and mitt_y variables with player, player_x, and player_y
- Add an if statement so that your item bounces off the side walls (HINT: check to see how it bounces off the top and bottom walls)
- Add the code to enable your player to move left and right
- Make your player and items use images instead of Circle()
item = Circle((item_x, item_y), 10)
should change to
item = Image("filename", (item_x, item_y))
- Add a mine that moves around the screen
- Be sure to change how the game reacts to collisions with items and mines
- Make sure your game matches the requirements in Item collection game
IB:
- Introduction to Strings
- Complete HTTLACS: Ch7 #1,2, 5-10