Stop Animation when point A is at (x,y)
How could I make the animation stop when point A is at (4.5,0) or (8.5,0) or (9.5,0), so the "Win!" text box is displayed until animation is resumed? Also, how would I make a "Lose!" text box appear(then stop animation) when point A touches a wall of the maze?
Please see the attached file.
instructions: press start to make the red dot(point A) start moving down. Use the green "Move" slider to move the dot left and right. Don't touch the walls. Try to get to the bottom of the maze.
Thanks so much,