Build one mobile combat encounter https://patrickz.ai/learn/mobile-brawler/ OUTCOME Make movement, one attack and restart work across keyboard and touch. YOU NEED A coding agent, browser and placeholder shapes. Follow the repository’s current setup instructions. 1. Define the practice version Use one player, one enemy, health, attack cooldown and restart. Route input methods to the same actions. 2. Build step 1 Make a title scene and one combat scene. 3. Build step 2 Add movement before enemies. 4. Build step 3 Draw temporary hitboxes so attacks are visible during development. 5. Build step 4 Add one enemy that chases, attacks on cooldown, and can be knocked back. 6. Build step 5 Add health, game over, and restart. 7. Build step 6 Add touch controls after keyboard behavior is stable. 8. Build step 7 Publish early and tune feel from real devices. 9. Run the experiment Move and attack simultaneously on touch. Lose, restart, rotate the device and test again. Display hitboxes while checking whether attacks connect. PROMPT Work in a disposable practice project. Explain any setup requirements before changing files. Build one small step at a time and show how I can check it. Build a Phaser 3 combat prototype plan with one player, one enemy, health, punch, knockback, and restart. Separate entity state from collision handling. Include visible debug hitboxes and a tuning table for speed, range, cooldown, and damage. Review these touch controls for a mobile action game. Check thumb reach, simultaneous movement and attack, accidental presses, orientation changes, safe-area insets, and controller fallback. My first-version boundary: Use one player, one enemy, health, attack cooldown and restart. Route input methods to the same actions. EXAMPLE / EXPERIMENT Move and attack simultaneously on touch. Lose, restart, rotate the device and test again. Display hitboxes while checking whether attacks connect. CHECK YOUR RESULT [ ] Keyboard and touch invoke the same game actions. [ ] Restart clears enemy and player state. [ ] An attack cannot deal damage repeatedly every frame. IF IT FAILS If combat feels random, make collisions visible and record cooldown values before adjusting art or effects. MY RESULT / NEXT CHANGE