Your code
Set the size limit and the wall.
Console
Results
0%
Press Run to check your code
Your code has an error
Set the size limit and the wall.
Why not 100%?
Penalties: none this run
Both ideas of the last two topics on one ball: a limit holds the size, an if turns the ball around. It ends up 120 across, and a ball 120 across bounces at 340 — so the size decides the wall again.
Set the size limit and the wall.
Set the size limit and the wall.
Set the size limit and the wall.