tinajackson on Reddit shared this cool miniature Space Invaders powered by a Pi Pico 2 and displayed on a tiny SSD1306 OLED. Check out the full post and source code on GitHub.
I’ve been playing with a Raspberry Pi Pico 2 and had a spare SSD1306 OLED display plus an HW-040 rotary encoder lying around.
The idea was to make a minimal Space Invaders clone that fits on a 128×64 screen.
Before writing any code, I sketched the layout in a small browser-based graphics editor I made (kind of a Figma for embedded screens).
It took maybe 10 minutes to draw the ship, invaders, and place text elements.
Then I copied the generated Micropython code straight into Codex AI agent, and within about half an hour the game was done.
The hardest part was still the wiring and boilerplate – getting the encoder and OLED to talk nicely to the Pico. Also having the UI draft ready saved a lot of back-and-forth.
Explaining layout details to Copilot/Codex without a draft with all images would’ve been painful.
from Adafruit Industries – Makers, hackers, artists, designers and engineers! https://ift.tt/eCrt8nW
via IFTTT

Комментариев нет:
Отправить комментарий