This is a simple project to provide an example of using a simple data structure. It uses parallel lists to track the X & Y coordinates and then after reaching the border, it will backtrack the entire path./ Use the keyboard arrow keys to draw a design. When Scratchy runs into a black border, Scratchy will reverse his path and retrace his steps with a different color.
Added pen commands to make tracing Scratchy's path visible and made the original path one color and the reverse path another, then clear the stage to start again