BirajCoder/dagonGame — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a simple browser game like the Google dinosaur jump game, but with a dragon theme.

The player should control a running dragon that jumps over obstacles, with clouds and bushes or similar background graphics to make it feel alive. It should work on both desktop and mobile. On desktop, the dragon should jump with the spacebar and also with an on screen jump button. On mobile, the jump button should be easy to tap.

Add scoring during the run and save the best high score in the browser so it still shows after refreshing or coming back later. When the dragon hits an obstacle, the game should end and show the score and high score.

Please include two versions, one normal version and one version with a bot mode. In the bot version, add a button that turns auto jump on and off so the dragon can jump over obstacles by itself. Keep it all in plain HTML, CSS, and JavaScript so I can open it directly in a browser.

Want more depth? Deep Reverse