snake.cpp
is a C++ program of the Snake game in C++ built using the Ncurses library. It works on Linux/GNU and OS X and requires ncurses installed.
git clone https://github.com/rahulrajaram/snake.git
cd snake
g++ snake.cpp -std=c++11 -lncurses -lpanel -pthread -o snake
./snake
To exit from the game, perform Ctrl+C
.