+ },
+ adjustBoard: function() {
+ const board = document.querySelector(".game");
+ if (!board)
+ return; //no board on page
+ const multiplier = document.getElementById("myRange").value;
+ const boardSize = 10 * multiplier;
+ localStorage.setItem("boardSize", boardSize);
+ board.style.width = boardSize + "px";