Tuesday, February 22, 2005

Rock Paper Scissors

Add a paper, scissors, stone game to your website. Easy to install and keeps a score tally for the number of times the player has won and the computer has won.
[rock paper scissors]

[[INSTALLATION FOR THOSE WHO CAN'T FIND THE README]]

Step 1.
Open the file 'pss_variables.php' in a text editor (such as Notepad) and enter your preferred variables. Further instructions on how to correctly enter your variables are included in the file.

Step 2.
Open 'pss.php' in a text editor (such as Notepad). In the specified gaps, enter the HTML that you would like to appear above and below the output of the Paper, Scissors, Stone game script.

Step 3.
Upload 'pss.php' and 'pss_variables.php' via FTP in ASCII mode to your webserver. You must be able to run PHP in the directory the files are in, in order for the script to work. Upload the avatar image files (default pss_player.jpg and pss_comp.jpg) to the same directory.

Step 4.
Open up http://www.yoursite.com/pss.php and enjoy!

No comments: