Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -43,9 +43,10 @@ var gameOver = false;
|
|
43 |
var scoreText;
|
44 |
|
45 |
const game = new Phaser.Game(config);
|
46 |
-
const menu = document.querySelector('#demo');
|
47 |
|
48 |
-
menu.appendChild = game
|
|
|
49 |
|
50 |
function preload ()
|
51 |
{
|
|
|
43 |
var scoreText;
|
44 |
|
45 |
const game = new Phaser.Game(config);
|
46 |
+
//const menu = document.querySelector('#demo');
|
47 |
|
48 |
+
//menu.appendChild = game
|
49 |
+
document.getElementById('demo').innerHTML = "Hello"
|
50 |
|
51 |
function preload ()
|
52 |
{
|