LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

snake4

Terminal-based classic snake game

TLDR

Start the game
$ snake4
copy
Show high scores
$ snake4 --highscores
copy
Display version
$ snake4 --version
copy
Display help
$ snake4 --help
copy

SYNOPSIS

snake4 [-hHV] [-M file]

DESCRIPTION

snake4 is a terminal-based implementation of the classic snake game for Unix/X11 systems. Players control a snake that grows longer by eating food while avoiding obstacles, walls, and its own tail.The game features multiple difficulty levels, a hostile enemy called "the evil headbanger," and power-ups. Slim-pills shorten the snake and award bonus points. Food that blinks indicates it is rotting and becomes poisonous if eaten. A site-wide high score file tracks the top 200 players.

PARAMETERS

-h, --help

Display usage message and exit
-H, --highscores
Display the high score list and exit
-V, --version
Display version information and exit
-M, --merge-highscores file
Merge a separate high score file into the default (admin only)

CONTROLS

Arrow keys

Navigate the snake (up, down, left, right)
1-5
Select game level
Space
Pause/unpause game
q
Quit game

INSTALL

nix profile install nixpkgs#snake4
copy

CAVEATS

High score file is shared system-wide, with one entry per user. Merging high scores requires administrative privileges. The game requires a terminal with arrow key support. X11 toolkit options are also accepted.

HISTORY

snake4 is part of the BSD games collection, providing classic Unix entertainment software. The snake game genre dates back to the 1970s arcade games and gained widespread popularity through mobile phone implementations. snake4 brings this classic gameplay to the Unix terminal environment.

SEE ALSO

nsnake(6), bsdgames(6), nethack(6)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid