csnaketerm

The classic Snake game, right in your terminal

View on GitHub

The classic Snake game, right in your terminal. Play the game in an 80x24 terminal for an optimal experience, though larger terminal dimensions will also do.

Installing

From DonaldKellett/games in Homebrew

Applicable to macOS and Linux

macOS users: please help test the formula if possible, thanks!

$ brew tap DonaldKellett/games
$ brew install csnaketerm

From the Snap store

Applicable to Ubuntu Linux and many other mainstream distributions

Classic Snake Terminal in the Snap store

From ppa:donaldsebleung/games

Applicable to:

$ sudo add-apt-repository ppa:donaldsebleung/games
$ sudo apt update && sudo apt install csnaketerm

From donaldsebleung/games in Fedora COPR

Applicable to:

openSUSE users: you may need to first install dnf and dnf-plugins-core, or yum and yum-plugin-copr

$ sudo dnf copr enable donaldsebleung/games
$ sudo dnf update && sudo dnf install csnaketerm

From source

Applicable to Unix and Linux

Ensure you have the following installed:

$ git clone https://github.com/DonaldKellett/csnaketerm.git && cd csnaketerm

Invoke the top-level executable csnaketerm without arguments to play the game:

$ ./csnaketerm

A man page csnaketerm.6 is also provided for your reference:

$ man ./csnaketerm.6

For Windows users

Windows is not natively supported; you will need to set up a Linux virtual machine (VM) using WSL2 or otherwise, then follow the instructions for Linux above in the VM. If in doubt, get Ubuntu 20.04 LTS from the Microsoft store.

Contributing

This project is not accepting contributions but feel free to fork this project and develop your own fork subject to the terms of the GPL (see below for details).

License

GPLv3 or any later version at your discretion