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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.