Perfected Pong
New challenges from an old favorite
By BOB AYIK
This short machine-language update of the very first Atari video game is jammed with powerful user-controlled enhancements. The BASIC translation of Perfected Pong works on all 8-bit Atari computers with of Ieast 32K memory, disk or cassette. Atari paddles are required.
If you got your early exposure to electronic games on the Atari 2600 Video Cartridge System, you undoubtedly have played a lot of Pong--the simplified ping-pong simulation where you move a paddle cursor to keep a ball bouncing against the edge of the video display. Not only was Pong the first home video game, it has been included free with many of the millions of 2600s sold since 1977. Well, it's time to dust off your old Atari paddle set (or compatible) and take on some brand-new Pong challenges.
I began writing Perfected Pong after playing the classic game with 8-year-old Laura. We were playing at slow speed and she was killing me. But she wasn't having fun. She kept claiming that I was letting her win.
Now Laura beams as she wins, because Perfected Pong has six different skill levels that can be set independently for each player. Every skill level has a different starting and maximum ball speed.
Perfected Pong also has 20 different angles of ball rebound, which gives you a lot of subtlety in controlling how the ball spins off your paddle.
You can master Perfected Pong in practice mode, where one or two players volley without any scorekeeping and the ball bounces right back into play after "falling off" the end of the screen. Just tap any key and the ball will slow down to its beginning speed for that level.
There are also some nice new audio-visual touches. Players can select any of 16 possible color combinations for the screen. I used 16-bit sound channeling to create the familiar click of the ball hitting the boundaries. There is also a new twangy sound for the ball hitting the paddles.
When a point is tallied, the score pulsates as it changes. And while waiting for a serve, a pulsation also marks the paddle of the player who is to serve next.
Perfected Pong is a short (about 3.5K) update of Pong. It's written in fast, smooth MAC/65 assembly language.
GETTING STARTED
PONG is a machine language program which would be difficult to type in original form. Listing 1, MAKEPONG.BAS, is an easy-to-type BASIC program that creates this machine language program for you.
Type in Listing 1, check it with TYPO II and SAVE a copy before you RUN it. When RUN, Listing 1 creates the machine language game for you, and writes it to a disk file called PONG.EXE. Antic Disk Owners will find PONG.EXE on this month's disk.
There are two ways to start the PONG program. Method 1: Type DOS, after making sure you're using DOS 2 or DOS 2.5. When the DOS menu appears, type L [RETURN] then type PONG.EXE [RETURN].
Method 2 will give you automatic loading: Format a blank disk, using DOS 2 or DOS 2.5. Next, type H [RETURN] to WRITE DOS FILES TO DISK. Now use DOS option C to copy PONG.EXE to this disk. Finally rename PONG.EXE to AUTORUN.SYS.
By now, you should have three files on your disk: DOS.SYS, DUP.SYS and AUTORUN.SYS. To play Pong, remove all cartridges from your computer, put this disk into drive 1, (XL/XE owners should hold down the [OPTION] key) and turn on your Atari. PONG will automatically load and begin.
The first thing you'll see when you play Perfected Pong is a flashy title screen that lists the keys to press for selecting game options. You can quit a game anytime and return to the title screen by pressing [CONTROL] [Q]. When you complete a game, press either paddle button to start a new game at the current settings, or press any key to return to the title screen.
Bob Ayik of Maple Shade, New Jersey is an attorney practicing in the Philadelphia area. Perfected Pong is his first publication inAntic.
Listing:PONG.EXE Download