ch6 - making a game