Recommend this page to a friend!
  Classes of Developer CK  >  JavaScript Tic Tac Toe  >  >  Download  
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: JavaScript Tic Tac Toe
Show a Tic Tac Toe board and process player moves
Author: By
Last change: Update
Date: 6 months ago
Size: 1,480 bytes


Class file image Download
 demo url :
 <div id="overview">
        <h2>This is a tictoe game library.</h2>
        <h3>You can expand it according to your use.</h3>
        <p>Fucntion and properties are given below.</p>
        <p>Jquery required!.</p>
<li><a href="#col" >col : No. of Column for table(Default:6)</a></li>
<li><a href="#row" >row: No. of Row for Table(Default:7)</a></li>
<li><a href="matchCount" >matchCount: on which user said to winner: (Default:4)</a></li>
<li><a href="#id" >id: id of div where you want to show your table.(Default:gametable)</a></li>
<li><a href="bfn" >bfn: You can pass a function that will execute before every move</a></li>
<li><a href="afn" >afn: You can pass a function that  will execute after every move</a></li>

<li><a href="#init">init(): initialize tictoe</a></li>
<li><a href="#move">move(): when move happen </a></li>

<fieldset id="init">
 "bfn":function(){alert('before move occurs')},
 "afn":function(){alert('after move occurs')}

tt.init() for default;


<fieldset id="move">
 it takes current cell input element as an object