tushitshukla03/offline-1v1-fightgame ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple browser based offline 1v1 fighting game where two players can battle on the same keyboard and the last one standing wins. The game should feel fun and responsive, with smooth animations, clear graphics, and a match timer of 60 seconds so the winner is decided by survival if nobody gets knocked out first.
I want the first player to move with A D and jump with W, with attack on Q or Space. The second player should move with the arrow keys, jump with Arrow Up, and attack with Arrow Down or Ctrl. Please make the gameplay easy to understand, include the basic fight logic, health or survival mechanics, and a clear end screen when the match is over.
Use plain HTML, CSS, and JavaScript, and keep it all working offline. If you need to look up current docs online for anything, feel free to do that.
Are you gonna build this?
make sure you review the code using coderabbit