6.3.5 Cmu Cs Academy -

| Mistake | Consequence | Fix | |---------|-------------|-----| | while True: with no break | Infinite loop, editor crashes | Add a counter or condition that becomes False | | Modifying loop variable outside loop | Loop never ends | Ensure variable changes inside loop body | | Using while directly in onStep without break | Animation freezes | Use a frame counter or app.stop() | | Forgetting global inside function | UnboundLocalError | Declare global varName |

: Focuses on moving a "boat" object and bouncing a "ball" off the canvas edges. : Uses custom properties like to update position and reverses them (e.g., ball.dx *= -1 ) when the ball hits a boundary. DVD Screensaver 6.3.5 Cmu Cs Academy

: If you grouped your shapes, remember that changing a Group's centerX moves all its "children" shapes relative to that center. Do you need help with a specific variation

Do you need help with a specific variation of this exercise, like the or "DVD Screensaver" versions? AI responses may include mistakes. Learn more 6.3.5 Cmu Cs Academy