Collision toy
With different values of the initial s and t, the two boxes can be made to avoid each other. I have put example JavaScript into the Object properties of the square that changes colors (under scripting > On update). The project will be to modify that javascript so that the square changes color whenever the two boxes collide.