diff --git a/html/index.html b/html/index.html index 7782a62..d28aa7e 100644 --- a/html/index.html +++ b/html/index.html @@ -148,18 +148,18 @@

The Word Search Game

requestGameList(); }); - //generate 50x50 grid + //generate 35*35 grid //too big may have to do smaller grid or smaller cells function generateGrid() { const tbl = document.createElement("table"); const tblBody = document.createElement("tbody"); //create cells - for(let i=0;i<50;i++) + for(let i=0;i<=35;i++) { //create rows const row = document.createElement("tr"); - for(let j=0;j<50;j++) + for(let j=0;j<=35;j++) { //create cells and add it to the row const cell = document.createElement("td");