Scratch Experiment Project Click the flag to reset the experiment, and space to begin. The "ball" starts a fixed position. A random direction is chosen. A "success" is hitting the blue wall; a "failure" is hitting the red shape. The experiment will run indefinitely, and data will update.
This simulation allows the sprite to bounce off the sides.