15-112 Agenda 1-June
- Quiz2
- 2D list aliasing CT: draw a box and arrow diagram
- Animation (wont be trig based)
- List methods + general usage (CT/roc)
- might be a shorter quiz than last time (< 50 mins)
- Next week: Tetris (collaborative)
- Code Block/Idea of the Day: Whitespace programming language
- Content
- What is an animation?
- keyPresses, mousePresses, timerFired (not today)
- General explanation of MVC
- MVC in the code
- Check: https://tinyurl.com/summer112att8
- What is
data?
- Circle Demo: Clicking adds a circle, r clears them all.
- Moving Box Demo: Can move around, kept in bounds of board.
- Capture the flag game:
- 2 players that you can move around with keys
- when you click it creates a small “rock”
- Each player has a flag
- Capture the flag game learning goals:
- Using MVC to plan an animation
- using mouse + key events
- good design
- Learning Grids: you’ll do one in recitation (after hw6 is due)