Models of thinking, learning and teaching in games