That is the subject of chapter 6. The tutorial is not really a full course about strategy programming - the books in the link list give a much more detailed introduction.