PDA

View Full Version : TIC-TAC-TOE v.1.0


yoyoyoyo
06-18-2005, 10:00 PM
TIC-TAC-TOE
version 1.0

Time to install: less than 5 minutes
Level of difficulty: SIMPLE/BEGINNER

This adds a game of Tic-Tac-Toe to your forum. The players play against the computer, and it has 4 levels of difficulty that are user-selectable. It also includes history of the game as well as a short history of Artificial Intelligence based tic-tac-toe games.

1) Upload the contents of the "UPLOAD" directory to your forum ROOT directory.

2) Go to ADMIN CP -> STYLES & TEMPLATES -> ADD NEW TEMPLATE and create a template called tictactoe with the contents of template.tictactoe.txt.

3) Go to Adimin CP ->Styles & Templates -> Edit Templates and open the NAVBAR template and search for the following:<tr><td class="vbmenu_option"><a href="subscription.php?$session[sessionurl]">$vbphrase[subscribed_threads]</a></td></tr>

BEFORE add:<tr><td class="vbmenu_option"><a href="tictactoe.php">Tic-Tac-Toe</a></td></tr>
4) That's it! Go to http://yoursite.com/forum/tictactoe.php or visit the Quick Links in your NAVBAR to view your new tic tac toe page.

tic-tac-toe javascript by Brian, modified by yoyoyoyo
The tic-tac-toe script is covered by the GNU General Public License. The GNU General Public License is a Free Software license. You may exercise the freedoms specified here provided that you comply with the express conditions of this license. Any of these conditions can be waived if you get permission from the copyright holder. Your fair use and other rights are in no way affected by the above.

PLEASE CLICK INSTALL (https://vborg.vbsupport.ru/showthread.php?t=83401)

yoyoyoyo
06-19-2005, 09:16 PM
I know that tic tac toe is a simple game (and that this isn't going to rival ARCADE or anything :D) but I threw this together for a discussion on AI based gaming, and I thought some other folks might like it as well. I included a history of the game as well as a short synopsis of computer-based tic-tac-toe games. NOTE: The screenshot does not display all of the information about the history, etc.- that part is cut off.

angelicGrace
06-19-2005, 10:28 PM
It actualy looks rather cute.

bluesteel
06-20-2005, 01:24 AM
Hi yo*
Any chance of modifying this to charge and reward peeps via the Ucash system?