Approachable and full of code, the book has clear examples that help you picture each technique. What you learn carries over easily to your own projects, especially if you type in the examples and do the exercises at the end of each chapter. One reader still reuses its state machine design years later. It suits people who program game characters' behavior. It dates from 2004.