This commit is contained in:
AUnicornWithNoLife 2021-07-10 15:30:28 +01:00
parent ad2aad5a64
commit 1236ee4744

View File

@ -1,3 +1,5 @@
// initialize variables
var board; var board;
var info; var info;
var score; var score;
@ -9,8 +11,12 @@ var root;
var themesel; var themesel;
var dopredict; var dopredict;
// called when all the resources for the page have been loaded
function load() function load()
{ {
// asing values to variables
board = board =
[ [
[ [
@ -74,6 +80,8 @@ function load()
setup(); setup();
} }
// runs functions to get ready for game
function setup() function setup()
{ {
setupTheme(); setupTheme();