Open a terminal and execute the following steps:
sudo apt-get install libncurses5-dev libncursesw5-dev # ncurses is the only required dependency
git clone https://github.com/pablozabo/ascii-snake && cd ascii-snake
make
cd build/debug/bin
./snake
First download and install mingw.
NOTE: there's a dependency to pdcurses library (ncureses port for Windows platform) that it's
already compiled and located on ascii-snake\external\pdcurses\lib
folder. You can also
download the source code from https://github.com/wmcbrine/PDCurses
and compile it.
Finally open a terminal and execute the following steps:
git clone https://github.com/pablozabo/ascii-snake && cd ascii-snake
make
cd build\debug\bin
.\snake.exe
- ARROW keys: snake movement
- ESC or F1 : exit