Hello, I've just finished writing my version on Snake on Espruino to be played on a 15x15 RGB LED martix board (I can do a write up on how I built it if anyone would be interested).
For the controls I used an analog 2-axis thumb joystick wired onto the Espruino Pico.
You can find the code on GitHub and use it how ever you wish, I've added lots of comments explaining what's going on and by changing the settings at the beginning you'll easily be able to get it working on any similar devices. Code:https://github.com/owenmcateer/espruino-snake
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hello, I've just finished writing my version on Snake on Espruino to be played on a 15x15 RGB LED martix board (I can do a write up on how I built it if anyone would be interested).
For the controls I used an analog 2-axis thumb joystick wired onto the Espruino Pico.
You can find the code on GitHub and use it how ever you wish, I've added lots of comments explaining what's going on and by changing the settings at the beginning you'll easily be able to get it working on any similar devices.
Code: https://github.com/owenmcateer/espruino-snake
Demo video https://www.youtube.com/watch?v=C0IXREfDMOk