https://github.com/implferris/esp32-rex
Dinosaur Game written in Rust for the ESP32 with an OLED display, using the Embassy framework.
https://github.com/implferris/esp32-rex
dinosaur-game embedded embedded-systems esp-hal esp32 esp32-rust oled-display-ssd1306 rust rustlang
Last synced: 3 months ago
JSON representation
Dinosaur Game written in Rust for the ESP32 with an OLED display, using the Embassy framework.
- Host: GitHub
- URL: https://github.com/implferris/esp32-rex
- Owner: ImplFerris
- License: mit
- Created: 2024-12-23T13:31:52.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-12-23T14:49:28.000Z (10 months ago)
- Last Synced: 2025-06-02T09:11:35.070Z (4 months ago)
- Topics: dinosaur-game, embedded, embedded-systems, esp-hal, esp32, esp32-rust, oled-display-ssd1306, rust, rustlang
- Language: Rust
- Homepage:
- Size: 19.5 KB
- Stars: 11
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# esp32-rex
Dinosaur Game written in Rust for the ESP32 with an OLED display, using the Embassy framework. You can also find the Pico2 version of this code [here](https://github.com/ImplFerris/pico-rex).## Hardware Requirements
- ESP32 (WROOM Dev Kit 1)
- SSD1306 OLED I2C 128x64 Display
- Push button (with a cap)
- Jumper wires and breadboard## Circuit
| Pico Pin | Component |
|----------|-------------------------|
| GPIO 21 | SDA pin of OLED |
| GPIO 22 | SCL pin of OLED |
| 3.3V | VCC pin of OLED |
| GND | GND pin of OLED |
| GPIO 4 | One side of push button |
| GND | Other side of push button |
## Example VideoThe video doesn't fully capture the visual quality. Here's a preview of the game.
https://github.com/user-attachments/assets/acdab42f-2e12-4f43-b19c-63191b82fcd1
## TODO
1. Implement running illusion for the T-Rex
2. Display start menu
3. Smooth gaming experience!