| Andreas Rozek |
|
SquashThis page refers to an experiment which tests if the "PixelGraphics" package may also be used for a simple JavaScript game with "live" (animated) graphics within a HTML document.
Please, also consider my "Hints for Reading" and the "List of Recent Changes". Overview
As you may already imagine, the goal of the game is to keep the ball within the playfield as long as possible. The actual number of successful reflections (i.e., "racket hits") is shown and a "top four" ranking lists the most successful games since the HTML page has been opened (the list is cleared as soon as the page gets closed by the browser). The user may chose a "skill level" (which defines ball speed and racket width), start/stop the game and move the racket. If you are aware of the potential problems for your system, you may proceed to the actual game. Source CodeThe source code of this game is available for download:
You will also need some image files from the "PixelGraphics" package:
|
| http://www.Andreas-Rozek.de/JavaScript/Libraries/Squash/index.html | (last Modification: 09.05.2002) |