From 4f0283f48b2467776e8cd4f65345845a1d032564 Mon Sep 17 00:00:00 2001 From: AUnicornWithNoLife Date: Sat, 10 Jul 2021 15:41:16 +0100 Subject: [PATCH] begining of AI togglr button --- src/index.html | 6 ++++++ src/predict.js | 5 +++++ src/style.css | 6 ++++++ 3 files changed, 17 insertions(+) diff --git a/src/index.html b/src/index.html index 772b6ea..8176ba9 100755 --- a/src/index.html +++ b/src/index.html @@ -85,6 +85,12 @@
+ +
+
+
+ + diff --git a/src/predict.js b/src/predict.js index f8aa754..847613c 100644 --- a/src/predict.js +++ b/src/predict.js @@ -189,4 +189,9 @@ function resetPredict() catch{} } } +} + +function aiswitch() +{ + dopredict = !dopredict; } \ No newline at end of file diff --git a/src/style.css b/src/style.css index be2a344..7df9914 100755 --- a/src/style.css +++ b/src/style.css @@ -74,6 +74,12 @@ button:hover width: 150px; } +#ai +{ + height: 50px; + width: 150px; +} + .win { border-radius: 12px;