Difference between revisions of "CS1 - March"
From WLCS
(Removing all content from page) |
|||
Line 1: | Line 1: | ||
+ | == Wednesday - Friday (3/24/10 - 3/26/10) == | ||
+ | '''Regular:''' | ||
+ | * [[CS1 3rd Quarter Exam]] | ||
+ | '''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() | ||
+ | <source lang="python"> | ||
+ | item = Circle((item_x, item_y), 10) | ||
+ | </source> | ||
+ | |||
+ | should change to | ||
+ | |||
+ | <source lang="python"> | ||
+ | item = Image("filename", (item_x, item_y)) | ||
+ | </source> | ||
+ | *# 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 | ||
+ | |||
+ | == Archives == | ||
+ | * [[CS1 - June]] | ||
+ | * [[CS1 - May]] | ||
+ | * [[CS1 - April]] | ||
+ | * [[CS1 - March]] | ||
+ | * [[CS1 - February]] | ||
+ | * [[CS1 - January]] | ||
+ | * [[CS1 - December]] | ||
+ | * [[CS1 - November]] | ||
+ | * [[CS1 - October]] | ||
+ | * [[CS1 - September]] |
Revision as of 09:55, 3 May 2010
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