You press the Quit button to stop the animation, or type Control-C in your xterm from which you started samba . Run the dowalk program again, and run the samba animation again. You should notice that the walk is different. Now modify dowalk.cpp by adding another Walker object before the loop. You should add one more Walker, and record the walker using RecordBlue .
Re-run the dowalk progarm and the animation.
For this part of the lab, you'll modify the class Walker to give a walker different behavior. You'll observe the behavior in the animation, but you'll probably also want to print to cout to help you decide if the modifications are working. If the walker tries to move to 21, the coordinate should be set to 20. Then re-run the program and watch the animation. You may want to print to cout whenever you hit the edge of the world to help you debug the new change in the walker.