commit chapter 15

Sorry it's late!
Smart matching is implicit in your when conditions, so you could have just have when ( %exit ) here since $guess was your given parameter.