The simplest game for Unix-like operating systems, written in C.
Running snake
require ncurses
libraries.
List of build-time dependencies:
gcc
make
ncurses
Install these and other required packages for C development from your package manager.
Debian/Ubuntu
sudo apt-get install build-essential ncurses-dev
Fedora/RHEL
sudo dnf install gcc ncurses-devel
Arch
sudo pacman -Sy base-devel ncurses
To compile from source, download this repository using git
(or download the zip file from GitHub), enter the directory and then run make
If you want to install snake
run sudo make install
. By default, make install
install into /usr/local/bin
.
If you want to remove snake
run sudo make remove
GNU General Public License, Version 3 (GPL-3.0)