Skip to content

pablozabo/ascii-snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ascii-snake

Installation and usage

Linux

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

Windows

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

Controls:

  • ARROW keys: snake movement
  • ESC or F1 : exit

Releases

No releases published

Packages

No packages published