Lesson 4: Predicting a character’s behaviour