feat: add custom background rendering and speed scaling features for snake gameplay
This commit is contained in:
1 parent
93c0a44027
commit
60bf111400
13 files changed
+711
-26
No files matched your search
@@ -18,6 +18,7 @@ struct GameState {
|
||||
volatile uint16_t snakelength = 0;
|
||||
volatile uint16_t snakeDirection = 1;
|
||||
volatile uint16_t score = 0;
|
||||
volatile uint16_t applesEaten = 0;
|
||||
|
||||
bool gameOver = false;
|
||||
bool paused = false;
|
||||
|
||||
Reference in new issue
Block a user