Build one mobile combat encounter https://patrickz.ai/learn/mobile-brawler/ OUTCOME Make movement, one attack and restart work across keyboard and touch. STACK Phaser 3 TRY PATRICK'S VERSION Play Neon Brawler: https://perfectz.github.io/PhaserGameDemo/ YOU NEED A coding agent, browser and placeholder shapes. Follow the repository’s current setup instructions. 1. Set your boundary Use one player, one enemy, health, attack cooldown and restart. Route input methods to the same actions. 2. Make one combat scene Make one combat scene with placeholder shapes, and add movement before enemies. 3. Draw temporary hitboxes Draw temporary hitboxes so attacks are visible during development. 4. Add one enemy Add one enemy that chases, attacks on cooldown and can be knocked back. 5. Add health and restart Add health, game over and restart. Restart clears both player and enemy state. 6. Add touch controls Add touch controls after keyboard behavior is stable. They call the same actions as the keys. LATER (NOT TODAY) - Title scene: Add a title scene once the combat scene plays well. - Real-device tuning: Publish early and tune feel from real devices. PROMPT Help me build one mobile combat encounter in Phaser 3 in a new practice folder. First version only: one player, one enemy, health, an attack with a cooldown and restart, using placeholder shapes, with keyboard and touch routed to the same actions. No title scene or publishing yet. Follow the current Phaser setup instructions and list the setup commands before changing any files. Then work in five checkpoints and, after each, tell me how to check it: 1. One combat scene with movement, before any enemy. 2. Temporary hitboxes so attacks are visible. 3. One enemy that chases, attacks on a cooldown and can be knocked back. 4. Health, game over and a restart that clears player and enemy state. 5. Touch controls that call the same actions as the keyboard. Starting tuning values: [speed, range, cooldown, damage]. My placeholder theme: [one sentence]. FOLLOW-UP PROMPT Review these touch controls for a one-screen mobile combat encounter. Check thumb reach, simultaneous movement and attack, accidental presses, orientation changes and safe-area insets, and confirm touch and keyboard call 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