10
Game Programming: Coding for Fun
In Chapter 9, we combined animation and user inter-
action to make a fun app. In this chapter, we’ll build
on those concepts and add elements of game design to
create a game from the ground up. We’ll combine our
ability to draw animations on the screen with our abil-
ity to handle user interaction, like mouse movement, to
create a classic Pong-type game we’ll call Smiley Pong.