Simple snake game for M5Stack Core with Gameboy face
The goal is to eat the cherries (red dot) with the snake while avoiding eating himself and running into a wall.
Software requirements:
- arduino-cli : For package management, compile and upload (URL)
- GNU Make : For build management
Hardware compatibility:
- M5Stack Core (version 1)
- M5Stack Faces kit (Gameboy face)
To ensure compatibility, sketch.json should be adapted with the link to your serial.
All sources are available in src/.
src/M5Stackis a C++ program for M5Stack Core equipped with the Gameboy face.
Nothing else specific to notify.
- Go into
src/M5Snake - Execute
make deploy
Just do make init to install required libraries and boards.
Typical error:
No new serial port detected.
No device found on cu.usbserial-01CDDC5A
The ports connected can be listed by the command arduino-cli board list.
The file src/M5Snake/sketch.json defines how arduino-cli behave. The port should be adjusted based on your configuration.
