Update app.py
Browse files
app.py
CHANGED
@@ -43,6 +43,7 @@ var gameOver = false;
|
|
43 |
var scoreText;
|
44 |
|
45 |
var game = new Phaser.Game(config);
|
|
|
46 |
|
47 |
function preload ()
|
48 |
{
|
@@ -221,7 +222,7 @@ with gr.Blocks() as app:
|
|
221 |
</head>
|
222 |
<body>
|
223 |
<button type="testButton" onclick="testFn()"> Start </button>
|
224 |
-
|
225 |
</body>
|
226 |
</html>""")
|
227 |
|
|
|
43 |
var scoreText;
|
44 |
|
45 |
var game = new Phaser.Game(config);
|
46 |
+
document.body.appendChild(game)
|
47 |
|
48 |
function preload ()
|
49 |
{
|
|
|
222 |
</head>
|
223 |
<body>
|
224 |
<button type="testButton" onclick="testFn()"> Start </button>
|
225 |
+
<div></div>
|
226 |
</body>
|
227 |
</html>""")
|
228 |
|