This is a port of the EmbSnake that runs on the Nintendo Game & Watch: Super Mario Bros / Zelda game.
You need backup your G&W first. See game-and-watch-backup
Build and flash by make flash
in game-and-watch-snake
directory
Import this project into your STM32CubeIDE workspace by Import -> General -> Existing Projects into Workspace
and build / debug it.
You can just download Pre builded elf file for test.
This game contains the following pages.
- Home
- Demo mode (which can play game it self just like G&W mario or zelda TIME MODE does)
- Game mode (which you can play by yourself)
- Game over page (Hiscore cannot be saved in flash by now)
- etc.
- Press any button at Home page will start a new game.
- Wait a while at Home page will start demo.
- Swich Game / Demo mode by press GAME / TIME button.
- Other operation will show at the bottom of screen.
- Power off (sleep) by press power button.
- Some simple sound
- Save hi-score
- Screen bright
- Show a DigitClock at demo mode (snake will eat digit for update time)
- [Done]Sleep when Power button pushed
- This project is based on game-and-watch-base.
- This project use some code (power down etc.) from game-and-watch-retro-go.
- Thanks tim in discord for many helps. He also create a page which lists a lot of fun thing with G&W, you can take a look if you like, Here is it