Snake lived and thrived on Nokia devices throughout the late 1990s and early 2000s, according to many people's memories. The game, on the other hand, has been around for far longer and will continue to exist in the future. That's owing, at least in part, to folks like [Hari Wiguna] who keep it alive by incorporating it into new platforms.
Hari began developing Snake for the Raspberry Pi Pico in MicroPython. The hardware is straightforward: the Pico RP2040 microcontroller is connected to five buttons, and the game is shown on a 12864 I2C OLED screen. On the software side, Hari pushed the envelope, determining that the player character in his version of Snake had to slither like the genuine thing. It takes some practice to get this properly, especially when traversing curves in different directions.
For anyone who wish to experiment at home, the code is available on GitHub. It's a nice bit of work, though it's not the strangest location we've seen the game - owing to some clever programming, we've actually seen it run within PCB layout software previously. After the break, check out the video.
𝐏𝐢𝐑𝐞𝐥𝐚𝐲 𝟖 𝐋𝐚𝐮𝐧𝐜𝐡𝐢𝐧𝐠 𝐨𝐧 𝟏𝐬𝐭 𝐉𝐮𝐥𝐲 𝐎𝐧 @kickstarterPiRelay 8 | Relay Expansion Board For @Raspberry_PiCheck Now: https://t.co/Qh2dvMEXUz.— SB Components Ltd (@sb_ltd) June 24, 2021
Posts You May like:
- Tiny Round/Circular LCD Display Launched!
- Issue Fixed! USB Boot Ubuntu Server 20.04 on Raspberry Pi 4
- HC-SR04 Sensor with micro-ROS on the Raspberry Pi Pico
- Raspberry Pi Pico: ADC Sampling and FFT
- Using CircuitPython for RP2040
- How to Setup Pico RP2040 on Windows
- Using micro-ROS on the Raspberry Pi Pico
- LED Tricks Using The Raspberry Pi Pico
- The RP2040 Raspberry Pi Pico Meets LoRa
- Pico supports SD cards and FatFS
- How to connect a Raspberry Pi Pico to LoRaWAN
- 50 Raspberry Pi Hacks & Tips You Should Know
- How to Install Wi-Fi and Internet on a Raspberry Pi Pico
- Easiest Way to to Run DC Motor with Raspberry Pi Pico
- Drag-and-Drop Programming For The Raspberry Pi Pico
- Make Pico DIY Project Without Any Soldering or Breadboard
- Detailed Comparison of Arduino Nano RP2040 Connect Vs Raspberry Pi Pico
- Make a USB Microphone Using the Raspberry Pi Pico
- The RP2040 is Now Available for $1
- Pico LoRa Expansion is Finally Out! Supports 868MHz
- CircuitPython 6.3.0 is Now Available with Improvement & Fixes
- Pico DIY Projects! Must Try 17 Different Pico HATs & Expansions