CLASS 5 BROWSER GAME LAB Copy one prompt at a time. Replace bracketed words before sending. PROMPT 1: INSPECT THE ORIGINAL COPY FROM HERE Read my existing Python game and explain its goal, controls, scoring or damage rules, endings, and distinctive visuals. Identify the files and settings that create those behaviors. Suggest a browser port using JavaScript and Canvas. Do not edit any files yet. STOP HERE PROMPT 2: BUILD THE PORT COPY FROM HERE Use the plan above to build a browser version in a new web subfolder. Leave my Python files unchanged. Use index.html, styles.css, and game.js with JavaScript and Canvas. Keep the original controls, rules, artwork, animations, and special features. Reuse local assets where possible. For a new game, use the design I supplied and one complete playable arena. Include clear instructions, start, pause, endings, and restart. Pause when the tab loses focus. Keep movement consistent at different frame rates and stop game controls from scrolling the page. Make the layout fit the browser window. Use local assets and no frameworks, accounts, or backend services. Put editable settings near the top of game.js. Start a local web server serving only web and give me the browser URL plus exact restart commands for my computer. Explain any feature you could not preserve. Show me the game loop, a score or state update, and one setting I can edit. Check the full round, then ask me to test the controls myself. STOP HERE PROMPT 3: FIX ONE DIFFERENCE COPY FROM HERE When I [action], I expect [result], but [actual result] happens. Explain the cause and fix this one behavior. Keep the other game rules and visuals intact. Tell me how to test the fix and check restart. STOP HERE