Awesome, I’m gonna give it a crack now
There is a new commit on GitLab: fixed an annoying bug where keystrokes were leaked to the terminal after the game is over. Now stdin
is fully read before exiting.
So if you’re playing snek, get yourself the latest version
Finally, a better alternative to nsnake
and Google Snake!
ICYDK: nsnake has a bug where you move vertically faster than horizontally on highest speeds.
Even though you need to compile it yourself, on my weak as hell pc it takes seconds.
Optimized C be like:
Thanks to the frog for coding snek
.
This should be on (chaotic-)aur btw lol
Never heard of her.
snake made with ncurses
Pfff, amateurs!
Lol, also apparently curses
and its n variant are old lol. But so is C.
I know what ncurses
is. It’s bloat.
Not really, it’s a great library, but I prefer not to have it as a dependency and manually output escape sequences. Usually, this is a bad idea, but I like to live dangerously.
And so we can keep the compile time speedy.
Saying ncurses
is bloat is like saying EnOS is bloat LOL.
Greninja is very slim, so here’s something that fits with the bloat :