davidmonterocrespo24/esp32s3-arcade-3d — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a small OutRun style pseudo 3D racing game that runs on an ESP32 S3 with a 320 by 240 ILI9341 SPI screen, and also has a simple Windows emulator so I can test it on my PC before flashing hardware.

I want the game to feel like a classic arcade racer, with a curving road, hills, tunnels, roadside scenery, buildings, traffic cars, fog, and a day sunset night color cycle. The player car should be shown in 3D with a texture, and the car should steer left and right with two buttons on hardware, or arrow keys in the emulator. Throttle can be automatic.

Please include driving physics like acceleration, friction, drifting on curves, hill effects, traffic collisions with a short recovery, lap timing, best lap, and a circular speedometer HUD. Keep the screen resolution and performance realistic for ESP32 S3 hardware, using RGB565 style rendering and double buffering if needed. Also make it easy to compile in Arduino IDE for the board and with Raylib on Windows for the emulator.

Want more depth? Deep Reverse