ch6 - making a game
ch6 - reusing a code, started from page 242