Copyright © 2022 Techbomb Inc. All Rights Reserved.
While we have seen many Raspberry Pi projects in the past, a developer named Hari Wiguna has created the nostalgic game Nokia Snake for your Raspberry Pi Pico. He wrote the game in MicroPython and the game code is available on GitHub.
Snake Set for Raspberry Pi Pico
Hari Wiguna’s Raspberry Pi Pico hardware configuration consists of five buttons to control snake movement and a 128 x 64 pixel OLED display for watching the game. The basic premise of the game remains the same: you die if you hit the walls or meet yourself. And the snake accelerates as it grows. What makes this implementation of the Snake game unique is that the the snake slithers while moving during the game.
“There are probably easier ways to implement this, but I really enjoy working within self-imposed limitations. I wanted it to be in the 128×64 pixel OLED that I have, so I couldn’t afford to waste screen space on large sprites. The sprites I use are only 4×4 pixels! I wanted it to be written in MicroPython because I enjoy the interactivity and super fast development cycles without compiling. “ wrote Hari Wiguna in his Hackaday post.
If you want to see a video demo of this snake game, you can watch the YouTube video linked above. Also, the game is available on GitHub if you want to test it on your device or want to collaborate with the developer to add more features to this fun side project.
EAT < SLEEP < TECH< REPEAT