Closed jean-philippe-martin closed 9 months ago
I played around a bit, and it's pretty fun! Thanks for the PR.
Some notes though before I can merge it:
SnakeBoard.gd:116 @ tick(): Index p_x = 64 is out of bounds (width = 64).
, this needs to be handled else it'll crash GodotOS when exported.Lastly, this is just my opinion but I think the game's a bit too fast which makes micromovements hard and getting fruits that spawn on the edge a bit too punishing. I think a time_per_tick
of 1.0/20.0 would be a lot nicer.
Thank you for your detailed feedback!
I have applied all your suggestions:
fix error on wall hit
remove commented-out code
reset score counter on game restart
switch to RichTextLabel and scale=1
center "game over" screen
make restart button bigger
center the playing board, make it wider to reduce the bezel
slow down snake
and also added a few gameplay improvements:
add high score display
hide mouse while playing (unless it's moved)
snake speeds up every 50 points
apples always appear a little away from the edge
added logic to make sure the apple always appears, even if the snake basically fills the screen.
It's ready for you to take a second look!
Thanks for the update! Looks good to me, and I really like that apples don't appear directly on the edge anymore. I'll do some minor cleanup after merging then release a new build soon.
Fantastic, thank you very much!
This pull request adds a simple "snake" game. The folder takes only 16Kb and the game is playable, complete with a score counter.
It also adds it to the taskbar so it can be started via the OS interface.