FF1+ IE5+ Opr7+

Phong II

Author: Nathan | homepage

Description: This is a fun, one player DHTML Phong (Ping Pong) game. Uses cos and sin to move the ball at a specified angle, and the ball's angle can be altered by moving the paddle faster and hitting it. Ball also speeds up the longer the ball is in volley. Script has been tested in IE6+, NS6+, and Opera 7+.

Demo (fling the paddle to serve curve balls):


Directions: Developer's View
Simply download the following zip file, where you're find the 2 files:

-phongindex.htm (index page containing an <iframe> tag to load the phong game).
-phong.htm (the phong game itself).

Insert the <Iframe> tag found in phongindex.htm onto an existing page you wish to display the game, and upload phong.htm to your web server.

Enjoy!

Limited time: 10% off ad! Use promo code "10pctoff"