Developer Creates the Nostalgic Nokia Snake Game for Raspberry Pi Pico

May. 14, 2021



While we have seen a lot ofRaspberry Pi projectsin the past, a developer named Hari Wiguna hascreated the nostalgic Nokia Snake gamefor hisRaspberry Pi Pico. He wrote the game in MicroPython and the code for the game is available on GitHub.

Hari Wiguna’s Raspberry Pi Pico hardware setup consists of five buttons to control the snake’s movement and a128 x 64-pixel OLED displayfor seeing the game. The basic premise of the game remains the same – you die if you hit the walls or run into yourself. And the snake speeds up as it grows longer. What makes this implementation of the Snake game unique is that thesnake slithers as it moves during gameplay.

“There are probably easier ways to implement this, but I really enjoy working within self-imposed constraints. I wanted it to be on the 128×64 pixel OLED that I have, so I could not afford to waste screen real estate on big 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 no compile dev cycles,”wroteHari Wiguna in his Hackaday post.

If you want to check out a video demonstration of this snake game, you can take a look at the YouTube video linked above. Moreover, the game isavailable on GitHubif you want to try it out on your device or want to collaborate with the developer to add more features to this fun side project.

Subin writes about consumer tech, software, and security. He secretly misses the headphone jack while pretending he’s better off with the wireless freedom.