Introduction
This is a DHTML version of the famous video game Pong - one of the very first video games. It looks like this:
The player who scores 15 points first wins the game.
This script was tested with the following operating systems and browsers:
Windows XP:
IE 6 - 8, NN 4 + 7, Opera 7 + 9, Firefox 2 + 3, Chrome 3
Mac OS X:
IE 5, Safari 1
If you use another browser or operating system, this script may not work for you - sorry.
Notes
In some browsers you won't hear any sound.
NN 4 on Windows and IE 5 on Mac OS don't view elements (text etc.) below the game area properly; they will appear underneath the game area instead.
IE 5 and Safari 1 on Mac OS show a very poor performance (game is too slow).
Movement with arrow keys doesn't work with Opera 7 and NN 4 on Windows and Safari 1 on Mac OS; Safari 1 and Opera 7 actually don't recognize any key.
Usage
Adapt the configuration to your needs and insert this line into your HTML body where you want the game to appear:
<script language="JavaScript" src="pingpong.js"></script>