nsnake
2021-03-04
Source: nsnake
Snake, in ncurses. WASD or arrow keys move a snake around a bordered terminal window, chasing candies that make it grow. Run into a wall or yourself and it's game over, same as always.
The part I had the most fun with was the random effect rolled on every candy: double speed, double points, a "ghost" mode that lets the snake wrap through walls instead of dying, a bigger head, or a pair of portals that teleport it between two random points on the board. I also built a small menu system and an in-game guide screen out of raw ncurses windows instead of just a bare game loop, which made it feel more like a real program.