diff --git a/web/game.js b/web/game.js index 81ab079..acc3ffc 100644 --- a/web/game.js +++ b/web/game.js @@ -1,7 +1,7 @@ //--------------------Game-------------------- // Game variables -const width = 1260; -const height = 620; +const width = window.innerWidth; +const height = window.innerHeight; let requesteddata = []; let buttonWidth = width / 6 let buttonHeight = buttonWidth / 5