Step 13. The Bouncing Ball

A simple variant on previous work, adding an if statement. If the ball gets to the right side, it reverses direction. Edit it so it bounces off the left side too!

On Ancient Brain, instead of "println()" or print() use AB.msg() to write a message to the run header.


Tutorial 3.2
The Bouncing Ball
Tweet this step: