Skip to content

Update snake.cpp - #111

Open
sapus wants to merge 1 commit into
pimoroni:mainfrom
sapus:patch-1
Open

Update snake.cpp#111
sapus wants to merge 1 commit into
pimoroni:mainfrom
sapus:patch-1

Conversation

@sapus

@sapus sapus commented Dec 20, 2025

Copy link
Copy Markdown

hit = false; must be inside of do loop. If not it will be an endless loop. I added pause state for the game.
I added a sound for every time the snake gets an apple.
I changed a bit the colors to look a little bit more clear.
The game had some speed problems with my device.

hit = false; must be inside of do loop. If not it will be an endless loop.
I added pause state for the game.
I added a sound for every time the snake gets an apple.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant