<doctype html public="//w3c//dtd html 4.01//it">
<htlm>
<head>
<title>trissone Copyright NIW 2011</title>
<style type="text/css">
input {font-size:25px; width:50px; height:50px;}
</style>
<!-- richiamo il file "tris.js" che ha tutte le funzioni del tris -->
<script type="text/javascript" src="tris.js"></script>
</head>
<body>
<!-- creo la tabella cha farà da griglia al tris -->
<table
style="absolute; left:20px; top:30px;"
align="center"
bgcolor="000000"
cellpadding="1">
<TR>
<TH bgcolor="00aaee" colspan="3">TRISSONE</TH>
<TR>
<TD>
<input type="button" id="button1" onclick="print_move(1)">
<TD>
<input type="button" id="button2" onclick="print_move(2)">
<TD>
<input type="button" id="button3" onclick="print_move(3)">
<TR>
<TD>
<input type="button" id="button4" onclick="print_move(4)">
<TD>
<input type="button" id="button5" onclick="print_move(5)">
<TD>
<input type="button" id="button6" onclick="print_move(6)">
<TR>
<TD>
<input type="button" id="button7" onclick="print_move(7)">
<TD>
<input type="button" id="button8" onclick="print_move(8)">
<TD>
<input type="button" id="button9" onclick="print_move(9)">
</table><br>
<!-- aggiungo il textbox dove verr+ visualizzato il risultato ed il bottone per ricominciare -->
<P align="center">
<input
type="text"
id="testo"
value=""
style="width:300px; height:38"
readonly="true">
<br><br>
<input
type="button"
id="ri"
value="Ricomincia?"
style="width:200px; height:38"
onclick="ripeti()">
<br>
</P>
</body>
</html>