begining of AI togglr button

This commit is contained in:
AUnicornWithNoLife 2021-07-10 15:41:16 +01:00
parent 1236ee4744
commit 4f0283f48b
3 changed files with 17 additions and 0 deletions

View File

@ -85,6 +85,12 @@
<br>
<button onmousedown="updateTheme();" id='theme-up'>Update</button>
<br>
<br>
<br>
<button onmousedown="aiswitch();" id='ai'>AI: On</button>
</th>
</tr>
</table>

View File

@ -190,3 +190,8 @@ function resetPredict()
}
}
}
function aiswitch()
{
dopredict = !dopredict;
}

View File

@ -74,6 +74,12 @@ button:hover
width: 150px;
}
#ai
{
height: 50px;
width: 150px;
}
.win
{
border-radius: 12px;