Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -73,7 +73,7 @@ def make_html_file(generated_level):
|
|
| 73 |
// Step 5: Run the game now that its files are in place.
|
| 74 |
document.body.innerHTML = ''; // Clear the "Loading..." message
|
| 75 |
cheerpjCreateDisplay(512, 500);
|
| 76 |
-
cheerpjRunJar("/str/mario.jar");
|
| 77 |
|
| 78 |
}} catch (error) {{
|
| 79 |
console.error("Failed to load the Mario game:", error);
|
|
|
|
| 73 |
// Step 5: Run the game now that its files are in place.
|
| 74 |
document.body.innerHTML = ''; // Clear the "Loading..." message
|
| 75 |
cheerpjCreateDisplay(512, 500);
|
| 76 |
+
cheerpjRunJar("/str/mario.jar", "/files/mylevel.txt");
|
| 77 |
|
| 78 |
}} catch (error) {{
|
| 79 |
console.error("Failed to load the Mario game:", error);
|