Chapter 11. Ball-and-Paddle Games

Ball-and-Paddle Games

The next genre of games dates back to the first video game: Pong. This simple game started the arcade revolution in the 70s.

These games all involve a simple ball that bounces off walls and a paddle that the player controls. The player tries to not let the ball get past the paddle.

The first game you will build has a single paddle and a ball. The second game features a second, computer-controlled paddle and an artificially intelligent opponent. The third game in this chapter has the player trying to hit blocks with the ball, like the classic arcade game Breakout. The ...

Get Macromedia® Flash™ MX ActionScript for Fun & Games now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.