snake – blip on 2026-04-15

After a good few months I finally got around to fixing the janky movement of the snake in my snake game in my kernel-level app (it's technically not a kernel).

It finally actually feels nice to play the game now! It used to feel unresponsive, because when you pressed an arrow key you wouldn't get any feedback until the frame completed and the snake moved. So then I made it so that if you pressed an arrow key (other than the one directly opposite to where the snake is facing) the snake would move immediately. However, I had no way to extend the frame when this happened, meaning that the next automatic movement would occur sooner than expected, which made the game more responsive, but a lot more... janky and yucky feeling. So now I finally rewrote the frame logic, and it works!

Time posted: 11:11 SAST

Back to index of blips