Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 463 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 463 Bytes

1. Description

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.

2. Execution

git clone https://github.com/rahulrajaram/snake.git
cd snake
g++ snake.cpp -std=c++11 -lncurses -lpanel -pthread -o snake
./snake

Demo Execution

To exit from the game, perform Ctrl+C.