vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   TIC-TAC-TOE v.1.0 (https://vborg.vbsupport.ru/showthread.php?t=83401)

yoyoyoyo 06-18-2005 10:00 PM

TIC-TAC-TOE v.1.0
 
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:
Code:

<tr><td class="vbmenu_option"><a href="subscription.php?$session[sessionurl]">$vbphrase[subscribed_threads]</a></td></tr>
BEFORE add:
Code:

<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

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?


All times are GMT. The time now is 08:25 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02863 seconds
  • Memory Usage 1,718KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete