Classic Snake in the Terminal With nsnake
Guide a growing snake to eat food without hitting walls or yourself.
Run nsnake to play; steer with the arrow keys and press q to quit.
01Command
Command
$ nsnake02What it does
nSnake is a polished ncurses implementation of the classic snake game, with multiple difficulty levels, a snake database and configurable colors. Controls are simple enough to learn in seconds, which makes it a good break between tasks.
03Risk
!Warning: The game uses the terminal in raw mode; make sure the window is large enough or the board may be clipped.
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- alexdantas/nSnakeEvidence: Documents controls, levels and game modes.
- Debian package: nsnakeEvidence: Installs nSnake, a classic snake game with a textual interface.
Last verified: 2026-09-20 · Category: Developer
06Related solutions
Update and upgrade packages on Debian/Ubuntu with apt
Refresh the package index from all configured repositories, then install newer versions of every upgradable package.
Search text recursively in a directory with grep
Find every occurrence of a pattern across all files in a tree, printed as file:line:number matches.
Extract a .tar.gz archive with tar
Unpack a gzipped tarball into the current directory while printing each file as it is extracted.