var game = new Game({ root: document.body, door_size: 30, debug_level: /debug/.test(location.href) ? 10 : 1 /* 2 = debug enter/maze paths */ /* 10 = debug walls */ }); game.init();