diff --git a/index.html b/index.html index fd9deeb..6b8fee2 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ - + Christmas Lights Bingo Card @@ -89,6 +89,6 @@ - + \ No newline at end of file diff --git a/script.js b/phrases.js similarity index 97% rename from script.js rename to phrases.js index 3b7ff56..898e85f 100644 --- a/script.js +++ b/phrases.js @@ -1,11 +1,4 @@ -let phrases = [ - {phrase:'test',multiple:false}, - {phrase:'what', multiple: true} -]; - -//15/6/3 -> list -> randomize - -// fischer yates shuffle +// fischer yates shuffle function shuffle(array) { for (let i = array.length - 1; i > 0; i--) { let j = Math.floor(Math.random() * (i + 1));