Difference between revisions of "AP Computer Science"
From WLCS
(→Monday - Wednesday (12/9/19 - 12/11/19)) |
|||
Line 7: | Line 7: | ||
** [https://repl.it/@paulbui/Ball-class-notes Ball class notes] | ** [https://repl.it/@paulbui/Ball-class-notes Ball class notes] | ||
** Brick objects for Brick Breaker | ** Brick objects for Brick Breaker | ||
+ | *** What instance variables (attributes) should a Brick have? | ||
+ | *** What methods (behaviors) should a Brick have? | ||
+ | * Circle and Brick intersection test program | ||
+ | ** Create a small Processing program to test out the math between the intersection a circle and rectangle | ||
+ | ** Use variables for everything | ||
* [https://drive.google.com/open?id=1ks5B3fsnGCX_utk_Adxt1cQtPtUsNtNVENb9swCaHpo Object usage slides] | * [https://drive.google.com/open?id=1ks5B3fsnGCX_utk_Adxt1cQtPtUsNtNVENb9swCaHpo Object usage slides] | ||
* [https://docs.google.com/presentation/d/1hb_8wMUlQQl7W-JF2f3gax021yDHLkLENJYy0fUMGy8/edit?usp=sharing Classes slides] | * [https://docs.google.com/presentation/d/1hb_8wMUlQQl7W-JF2f3gax021yDHLkLENJYy0fUMGy8/edit?usp=sharing Classes slides] |
Revision as of 09:16, 11 December 2019
Contents
Monday - Wednesday (12/9/19 - 12/11/19)
Agenda:
- Processing review
- Bouncing Ball
- Brick Breaker
- Class construction and object usage
- Ball class notes
- Brick objects for Brick Breaker
- What instance variables (attributes) should a Brick have?
- What methods (behaviors) should a Brick have?
- Circle and Brick intersection test program
- Create a small Processing program to test out the math between the intersection a circle and rectangle
- Use variables for everything
- Object usage slides
- Classes slides
- Brick Breaker description
- Ball bounces around the screen and off of bricks and the paddle
- Paddle that moves along the x-axis by following the mouse
- Bricks at the top of the screen
- Bricks disappear if they are hit by the ball
- Lose if ball goes past the bottom of the screen
- Win if all bricks are gone
Thursday (12/5/19)
Agenda:
- Test 10 questions?
- Activity 12 check
- Coming soon...Processing review
- Bouncing Ball
- Brick Breaker
Tuesday (12/3/19)
Agenda:
- Java Methods & Strings quiz
- Repl.it reminder - all assignments should be completed by now
- Multiple Variable Declarations
- Overloaded Methods
- Exercises & Examples
- Why would we want to overload methods?
- Complete Activity 12: Optional Arguments