codingABI/GyroRacer — reverse-engineered prompt
Reverse engineered prompt
Build me a small Arduino motorcycle racing game called GyroRacer.
It should run on an Arduino Uno or Nano with an MPU6050 gyro, a 128 by 64 SSD1306 OLED screen, and an optional passive buzzer. The player should steer the bike by tilting the board, with the game shown on the OLED like a simple arcade racer. Keep it short and demo like, but make it feel playable, with a bike sprite, road or obstacles, basic scoring or distance, crash or game over behavior, and simple sound effects if the buzzer is connected.
Please include the Arduino sketch and any needed assets or notes so I can wire it up and upload it from the Arduino IDE. Use the common Adafruit SSD1306 and GFX libraries and the MPU6050 I2Cdev setup. If there are size issues on Uno, optimize for that and mention the SSD1306 splash screen setting. Look up current library details online if needed.
Want more depth? Deep Reverse