A classic snake game with embedded multiplayer support for up to 3 players, featuring persistent score storage in EEPROM
A classic breakout game with embedded multiplayer support for up to 3 players, featuring persistent score storage in EEPROM.
This is implemented in the InspireComputer:

- Multiplayer support for 3 players
- Persistent high score storage in EEPROM
- Simple name selection system
Create your names, and then choose any names you like
- Button 1: First Name
- Button 4: Second Name
- Button 7: Third Name
Choose the game you like
- Button 3: Snake Game
- Button 9: View saved high scores (available after game over) for your selected name
- Button 3: Erase all saved scores (reset all high scores)
- Button 7: shows the highest score, and the corresponding name of a player =======
- 2 - Move Up
- 4 - Move Left
- 6 - Move Right
- 8 - Move Down
- 4 - Move Left
- 6 - Move Right
- 5 - Reset game after Game Over
- 1 - Change game speed (for snake game only)
- MounRiver Studio
- WHCLink-E programmer
- Inspire RISC-V computer
- Install MounRiver Studio
- Open Snake_game.wvproj project
- Click Rebuild to compile
- Connect the Inspire computer via WHCLink-E
- Download into the Inspire computer
- Launch the game!
- Install MounRiver Studio
- unzip Brekout_game.zip in another folder, not in the same folder as snake game!, it is very important
- open Breakout_game.wvproj project
- Click Rebuild to compile
- Connect the Inspire computer via WHCLink-E
- Download into the Inspire computer
- Launch the game!
- Guide the snake to eat food and grow
- Avoid walls and self-collision
- Higher speeds increase difficulty
- Previous scores are saved between sessions
- Guide the paddle to hit the balls
- Avoid the ball from falling to the ground
- Previous scores are saved between sessions
- the main code is located in User->main.c , and all code is divided to blocks by /*************/ comment sections
- Colours that are used in game are defined in User\data\Clean_code_func\colors_predefined.h
- The letters for the scroling are predefined in User\data\Clean_code_func\colors_predefined\fonts8x8.h all this files are included in main.c
- the chip memory is 16kb, 13.5kb of memory alreadt used so you have 2.5kb of free memory, or you can delete some code as well
- if you need just scroling functions for your project, you can go to this repo https://github.com/Azat228/ScrollingText8x8Display/tree/master/RISCV_implementation
- A. Tong - drivers and low level functions
- Ensure proper display connections
- Verify button input functionality
- Check programmer connection if flashing fails