The terminal snake you always needed
$ git clone https://github.com/sdaveas/snake.git
from repository directory, run:
$ mkdir build && cd build && g++ ../src/*.cpp -o snake
from build directory, run:
$ ./snake [dimension]
-
Easy: Snake can pass through the walls.
-
Hard: Snake crushes on the walls.
-
Expert: Additional obstacles introduced.