Free-Range Snake
Move the mouse and click! The web build doesn't support pointer-warping, but the downloads all make sure you stay in-frame. If a gamepad is plugged in, use its left stick instead — it overrides the mouse.
We all know and love the classic snake game. Gobble up food, remember that you are not yourself food, and mind the walls. What would happen if instead of playing on a fixed grid, we had full 360° movement? This!
To experience this game as it was meant to be, you'll need some supplies:
- Raspberry Pi Pico (the $4 microcontroller)
- OLED display (around $9 for two)
- Breadboard
- Jumper wires
- One push-button switch
- One 10kΩ potentiomter
Most of these components can be found in a single kit alongside many other parts that could be useful in future exploration. Wire it up as shown in MiniConsole_Schematics_A5.pdf in the pico.zip. If you move the wrong direction, you've reversed the connections to your potentiometer.
The official documentation will tell you how to put MicroPython onto your Raspberry Pi Pico. Then simply upload the files "miniconsole.py", "SSD1315.py", "starfall.py", and "main.py" to the system using Thonny or rshell.
Download
Click download now to get access to the following files:
Leave a comment
Log in with itch.io to leave a comment.