1 Pixel Pac Man on the Kitronik GameZip64 with the micro:bit and NeoPixels
Автор: 2kB of Fun
Загружено: 2021-03-25
Просмотров: 482
How far can one simplify Pac-Man yet remain faithful to the original game play. Is a 8x8 NeoPixel LED matrix enough screen to play the game? I think it is. My upcoming Arduino book will teach you how to create a game like this, how to do independent timing on ghosts, Pac-Man and screen refresh, how to make the ghost AI work like it does in the real game.
It's not fitting the 2kB that most microcontrollers in my handheld collection have, but you should be able to squeeze this into 8kB with 512B of RAM. So an ATtiny85 should be enough to run this: 1 pin for the neopixels, 1 for the speaker, 4 for the direction switches. You can even store high-scores on its internal EPROM.
For convenience this is compiled on the micro:bit v1 and inserted as "cartridge" in the Kitronik GameZip64. You could as well build your own Neopixel handheld with a loose display like the Adafruit Neomatrix 8x8 and the ATtiny85 as brain. If you want less chalenge to get the code fit, get any other board you are comfortable with, like the Arduino Leonardo, the BBC micro:bit or an Arduino Micro. For sound any piezo buzzer will work.
The real appearance is a lot better, due to the gigantic contrast between lights and the GameZip the colours look a little washed out.
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: