I recently made Snake for the Astro Pi, just for fun really, but I am putting it online as I would like to see what others can do with it – it is literally screaming out to be hacked and improved.
I’ve given some ideas and tips but there is much more than could be done.
Anyone budding coders up for the challenge?
I started with the code I originally wrote for Minecraft – Snake and made the changes so that rather than creating blocks in Minecraft it turned on leds and used the joystick to control the motion. I was also surprised by how much I improved the overall structure of the code, it wasn’t poorly coded it was just a bit untidy.
Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!