made game fullscreen

This commit is contained in:
Sam
2024-01-18 15:01:38 +01:00
parent 40f11c01fd
commit 4aebb87887

View File

@@ -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