diff --git a/src/frontend/game.js b/src/frontend/game.js
index 875d054ec1764d3e6364940b565d158a5c622ff1..ca28013c5226d91fa4ddc54190f0471fc8faea93 100644
--- a/src/frontend/game.js
+++ b/src/frontend/game.js
@@ -2,11 +2,11 @@ import Phaser from 'phaser';
 import TestScene from './scenes/test';
 
 class Game {
-  constructo() {
+  constructor(width, height) {
     this.config = {
       type: Phaser.AUTO,
-      width: 800,
-      height: 600,
+      width: width,
+      height: height,
       scene: TestScene
     };
 
diff --git a/src/widget.js b/src/widget.js
index f37ebd97ec04ea57d08a2ed484c50f434ba95b11..823f6d4ee133db67f49936e4bddcb04be94df4b2 100644
--- a/src/widget.js
+++ b/src/widget.js
@@ -1,4 +1,7 @@
 import WidgetBackend from './backends/widget';
 import Game from './frontend/game';
 
-let game = new Game();
+const width = 800;
+const height = 600;
+
+let game = new Game(width, height);