removed gamemodes - will add later
This commit is contained in:
parent
3d0ea057c7
commit
a8147bfb58
10
src/code.js
10
src/code.js
@ -155,14 +155,4 @@ function reset()
|
||||
|
||||
tabloid.classList.remove('win');
|
||||
tabloid.classList.remove('lol');
|
||||
}
|
||||
|
||||
function mode(id)
|
||||
{
|
||||
if (id != gamemode)
|
||||
{
|
||||
gamemode = id;
|
||||
|
||||
reset();
|
||||
}
|
||||
}
|
@ -19,13 +19,7 @@
|
||||
<table id='main' class='center'>
|
||||
<tr>
|
||||
<th>
|
||||
<h1>Gamemode</h1>
|
||||
</th>
|
||||
<th>
|
||||
<div id='modes'>
|
||||
<button onmousedown='mode(1);'>1v1</button>
|
||||
<button onmousedown='mode(2);'>AI</button>
|
||||
</div>
|
||||
<h1>Tic-Tac-Toe</h1>
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
|
Loading…
Reference in New Issue
Block a user