Snake game - Wio Terminal - Wio Terminal (D51R) - Rida G. - CodeCraft Hub
Scene: Maker. Edge AI application on CodeCraft Hub for Maker use cases.
Devices / BOM: Wio Terminal (D51R), CodeCraft
Maker application on CodeCraft Hub. I replicate the classic snake game with CodeCraft without writing a single line of code in 5 minutes. This game runs on Wio Terminal.
Documentation
I built this game on CodeCraft by just saying
Build a snake game on Wio Terminal, green snake eating red apple.
Then with a few more rounds of tiny fixes and iterations, I got this game running on my Wio Terminal.
CodeCraft even compiles the firmware for me, so all I did was click Upload , and check the result.
Deploy steps
- Connect to your Wio Terminal and upload the game
Flash firmware to your device (in-app tool on CodeCraft Hub).
- Source code
You're all set once you finish Step 1, I'm just attaching the source code here in case you want to modify on top of this.
snake.ino