Skip to content

This is Snake++! A simple snake game for command prompt written in C++.

Notifications You must be signed in to change notification settings

alar0330/Snake-pp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake-pp

This is Snake++! A simple snake game for command prompt/terminal written in C++ for practice.

It is minimalistically cross-platform: currently Windows (MinGW/Cygwin) and Linux.

Dependencies

Linux: ncurses

Win: ncursesw

Compile

Given the ncurses libraries are in PATHs, compile as

  • Linux:
g++ src/main.cpp src/nsnake.cpp src/game.cpp -lncurses -o bin/Snake-pp.bin
  • Win:
g++ src\main.cpp src\nsnake.cpp src\game.cpp -lncursesw -o bin\Snake-pp.exe

About

This is Snake++! A simple snake game for command prompt written in C++.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages