diff --git a/src/ai.js b/src/ai.js new file mode 100644 index 0000000..8d5aeba --- /dev/null +++ b/src/ai.js @@ -0,0 +1,4 @@ +function predict() +{ + +} \ No newline at end of file diff --git a/src/code.js b/src/code.js index 7b49934..f3410f1 100644 --- a/src/code.js +++ b/src/code.js @@ -155,4 +155,14 @@ function reset() tabloid.classList.remove('win'); tabloid.classList.remove('lol'); +} + +function mode(id) +{ + if (id != gamemode) + { + gamemode = id; + + reset(); + } } \ No newline at end of file diff --git a/src/index.html b/src/index.html index 917af59..283c022 100644 --- a/src/index.html +++ b/src/index.html @@ -17,6 +17,17 @@
+ Gamemode+ |
+
+
+
+
+
+ |
+
---|---|
|