made game fullscreen
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
//--------------------Game--------------------
|
//--------------------Game--------------------
|
||||||
// Game variables
|
// Game variables
|
||||||
const width = 1260;
|
const width = window.innerWidth;
|
||||||
const height = 620;
|
const height = window.innerHeight;
|
||||||
let requesteddata = [];
|
let requesteddata = [];
|
||||||
let buttonWidth = width / 6
|
let buttonWidth = width / 6
|
||||||
let buttonHeight = buttonWidth / 5
|
let buttonHeight = buttonWidth / 5
|
||||||
|
Reference in New Issue
Block a user