This commit is contained in:
AUnicornWithNoLife 2021-04-11 17:03:42 +01:00
parent 7fbb736bc8
commit 579d92b893
2 changed files with 22 additions and 9 deletions

View File

@ -0,0 +1,13 @@
board =
[
[0, 0, 0],
[0, 0, 0],
[0, 0, 0]
];
ptm = 1;
function move(id)
{
}

View File

@ -14,19 +14,19 @@
<body>
<table id='board'>
<tr>
<th>X</th>
<th></th>
<th></th>
<th><button onmousedown="move('00');" id='00'></button></th>
<th><button onmousedown="move('01');" id='01'></button></th>
<th><button onmousedown="move('02');" id='02'></button></th>
</tr>
<tr>
<th>O</th>
<th></th>
<th></th>
<th><button onmousedown="move('10');" id='10'></button></th>
<th><button onmousedown="move('11');" id='11'></button></th>
<th><button onmousedown="move('12');" id='12'></button></th>
</tr>
<tr>
<th></th>
<th></th>
<th></th>
<th><button onmousedown="move('20');" id='20'></button></th>
<th><button onmousedown="move('21');" id='21'></button></th>
<th><button onmousedown="move('22');" id='22'></button></th>
</tr>
</table>
</body>