Full version: jsB@nk » Game » Tic tac toe » Tic-Tac-Toe: numbers
URL: https://www.javascriptbank.com/tic-tac-toe-number-index.html
This one lets you choose the board size and who play first.
Full version: jsB@nk » Game » Tic tac toe » Tic-Tac-Toe: numbers
URL: https://www.javascriptbank.com/tic-tac-toe-number-index.html
<LINK href="style.css" rel=stylesheet><TABLE cellSpacing=0 cellPadding=0 width=396 align=center bgColor=#000000> <TBODY> <TR> <TD></TD></TR></TBODY></TABLE><TABLE cellSpacing=0 cellPadding=0 width=398 align=center bgColor=#000000> <TBODY> <TR> <TD></TD></TR></TBODY></TABLE><TABLE class=main cellSpacing=0 cellPadding=0 align=center> <TBODY> <TR> <TD> <TABLE class=header> <TBODY> <TR> <TD align=middle> <IMG src="head_ttt.gif" width="350" height="68"></TD></TR></TBODY></TABLE><!-- BEGIN NAVIGATION --> <TABLE cellSpacing=0 cellPadding=0 width="100%" bgColor=#666666> <TBODY> <TR> <TD></TD></TR></TBODY></TABLE> <TABLE cellSpacing=0 cellPadding=0 width="100%" bgColor=#999999> <TBODY> <TR> <TD></TD></TR></TBODY></TABLE> <TABLE cellSpacing=2 cellPadding=2 width="100%" bgColor=#cccccc> <TBODY> <TR> <TD class=nav onmouseover="this.className='nav_over'" onclick=location.reload(); onmouseout="this.className='nav'" align=middle>Play Game!</TD> <TD class=nav onmouseover="this.className='nav_over'" onclick="location.href='about.htm'" onmouseout="this.className='nav'" align=middle>About</TD> <TD class=nav onmouseover="this.className='nav_over'" onclick="location.href='working.htm'" onmouseout="this.className='nav'" align=middle>How it Works!</TD></TR></TBODY></TABLE> <TABLE cellSpacing=0 cellPadding=0 width="100%" bgColor=#999999> <TBODY> <TR> <TD></TD></TR></TBODY></TABLE> <TABLE cellSpacing=0 cellPadding=0 width="100%" bgColor=#666666> <TBODY> <TR> <TD></TD></TR></TBODY></TABLE><!--END NAVIGATION --><!-- BEGIN TIC-TAC-TOE JAVASCRIPT BY PREMSHREE PILLAI --> <SCRIPT language=JavaScript src="tic-tac-toe.js"></SCRIPT><!-- END TIC-TAC-TOE JAVASCRIPT BY PREMSHREE PILLAI --> <DIV id=container align=center> <FORM name=containerForm> <TABLE> <TBODY> <TR> <TD><SELECT name=slct><OPTION style="BACKGROUND: #cccccc" value=none selected>Select Board Size</OPTION><OPTION style="BACKGROUND: #eeeeee" value=3>3 x 3</OPTION><OPTION style="BACKGROUND: #cccccc" value=4>4 x 4</OPTION><OPTION style="BACKGROUND: #eeeeee" value=5>5 x 5</OPTION><OPTION style="BACKGROUND: #cccccc" value=other>Other Size</OPTION></SELECT></TD> <TD><SELECT name=slct_pf><OPTION style="BACKGROUND: #cccccc" value=none selected>Who plays first ?</OPTION><OPTION style="BACKGROUND: #eeeeee" value=0>Player</OPTION><OPTION style="BACKGROUND: #cccccc" value=1>Computer</OPTION></SELECT></TD> <TD><INPUT class=btn onclick=javascript:doGen() type=button value=Play!></TD></TR></TBODY></TABLE><FORM></DIV><BR> <TABLE width="100%" bgColor=#000000> <TBODY> <TR> <TD><span class="content_cpy">© 2002 Premshree Pillai. <a href="http://pub.alxnet.com/guestbook?id=2395118" class="link">Sign my Guestbook</a> | <a href="http://www.qiksearch.com/javascripts.htm" class="link">More JavaScripts</a></span></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><TABLE cellSpacing=0 cellPadding=0 width=398 align=center bgColor=#000000> <TBODY> <TR> <TD></TD></TR></TBODY></TABLE><TABLE cellSpacing=0 cellPadding=0 width=396 align=center bgColor=#000000> <TBODY> <TR> <TD></TD></TR></TBODY></TABLE></FORM><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->
http://javascriptbank.com/javascript/game/Tic-Tac-Toe-number/head_ttt.gifhttp://javascriptbank.com/javascript/game/Tic-Tac-Toe-number/style.csshttp://javascriptbank.com/javascript/game/Tic-Tac-Toe-number/tic-tac-toe.js