first, thank you for playing! Glad you enjoyed it :)
there is a bug with the pathfinding algorithm
hah, there's actually a couple bugs with the path finding 😅 I wanted to really timebox my work on this game since it was my first "big" game and kinda learn from the experience, so there were a few items that I had to make the tough choice on whether to address or not.
The one related to the snake death behaves differently depending on the level because depending on the level, the snake has different targets. When it's chasing the player and dies, it will sometimes get choppy as it tries to find a path that works and gets stuck in a loop. If you wait, it should break out of it and play the death animation.
The other problem that you noticed is sometimes when a snake dies it doesn't update the level's layout correctly and you end up with essentially invisible snake parts all over the place. This one is a little trickier because it's somewhat related to the way the systems order their execution, somewhat related to the position of the snake when it dies and also just bad timing.
on the last level I intuitively closed the passageway for the snake with a moveable cube
Yes! This is a sorta subtle strategy; I've watched several players play and not realize those blocks are movable. I was hoping it would be something like that where some players it clicks as a shortcut like an "a-ha!" moment. It's unfortunate that it can kill the snake and cause that choppiness to briefly appear though.
I'm hoping to re-visit this game in the coming months to add some more features, fix more bugs and add more levels as a version 2.0. Check out my other game,A Day at the Movies if you haven't; it was made as part of a game jam so it's not quite as polished but players have found it enjoyable as well.
Again, thanks for playing and for sharing your thoughts, it's greatly appreciated!