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> <br>
<button onmousedown="updateTheme();" id='theme-up'>Update</button> <button onmousedown="updateTheme();" id='theme-up'>Update</button>
<br>
<br>
<br>
<button onmousedown="aiswitch();" id='ai'>AI: On</button>
</th> </th>
</tr> </tr>
</table> </table>

View File

@ -189,4 +189,9 @@ function resetPredict()
catch{} catch{}
} }
} }
}
function aiswitch()
{
dopredict = !dopredict;
} }

View File

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