comments
This commit is contained in:
parent
ad2aad5a64
commit
1236ee4744
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user