Idea
In short
How do you build a snake game on an OLED?
A classic snake game played with four buttons on a small OLED screen. You need Arduino Nano, SSD1306 OLED Display, Tactile push button 6 mm × 4, Resistor 10 kΩ × 4, Breadboard 830 Tie Points and Jumper wires male to male (40 pcs, 20 cm).
- Level
- Intermediate
- Time
- About 210 min
- Parts
- 6
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal
Practise game loops and a framebuffer.
Parts list
- Development Boards
- Displays
- Switches
- PassivesResistor 10 kΩ × 4
- Prototyping
- Prototyping
How to build it
- Set up the OLED library
- Draw the snake and food
- Move on a timer
- Read four direction buttons
- Show the score and game over
Related projects
Common questions
What parts do I need for the snake game on an OLED?
Arduino Nano, SSD1306 OLED Display, Tactile push button 6 mm × 4, Resistor 10 kΩ × 4, Breadboard 830 Tie Points and Jumper wires male to male (40 pcs, 20 cm).
How long does the snake game on an OLED take to build?
About 210 minutes for a intermediate maker.
