ES-97IntermediatePremium
ESP32 Light Trail Duel: Two Player Retro Game (16x16 NeoPixel + 4 Buttons + Buzzer)
Two light bikes race across a 16x16 NeoPixel matrix without stopping and leave a glowing trail behind. Each player has two buttons: one turns the bike left, the other right. Hit a trail, the rival or the edge and you lose the round. The bikes speed up as the round goes on and the room runs out; the first to win 3 rounds takes the match. Score on the matrix, sounds from the buzzer. A two player duel in the style of the 80s trail games, made for New Year's Eve.
0.0(0)

In a single player snake game your only rival is your own tail; here a real opponent sits across from you and you both move at the same time. You have to cut the other bike off, squeeze it into a tight corner and keep your own way out open. In this project you learn to keep a game field in memory as a table, to move two players in the same step and settle a collision fairly, and to keep a 256 LED matrix fluid by updating only the pixels that changed.
Source Code
Premium Content
The source code, block version and FAQ of this project are open to Premium members.
- All Project Code
- Block version
- Frequently Asked Questions
