wick3dr0se / snake

:snake: A super minimal TUI snake game written in pure BASH v5.1+

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reversing ends game

creeper6530 opened this issue · comments

Whenever I press the exact opposite direction than my snake is currently moving, I get immediate game over. This is somewhat annoying when I mispress a button, and makes sharp 180s and zig-zags much harder to pull off.

@creeper6530 I implemented a stop on opposite directions. Now the game will pause on those accidental presses 😄

Let me know if this works for you

Works perfectly. Thanks!