Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -46,7 +46,6 @@ 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 |
{
|
|
@@ -205,6 +204,8 @@ function hitBomb (player, bomb)
|
|
| 205 |
|
| 206 |
gameOver = true;
|
| 207 |
}
|
|
|
|
|
|
|
| 208 |
}
|
| 209 |
}
|
| 210 |
|
|
|
|
| 46 |
//const menu = document.querySelector('#demo');
|
| 47 |
|
| 48 |
//menu.appendChild = game
|
|
|
|
| 49 |
|
| 50 |
function preload ()
|
| 51 |
{
|
|
|
|
| 204 |
|
| 205 |
gameOver = true;
|
| 206 |
}
|
| 207 |
+
document.getElementById('demo').innerHTML = game
|
| 208 |
+
|
| 209 |
}
|
| 210 |
}
|
| 211 |
|