You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Vissarion Moutafis c44c4c381f
Update README.md
5 years ago
.vscode Controller ready, Input methods ready, Board Ready, Snake collision events to be made and Snack class to be implemented 5 years ago
include added snack generator and implemented teh snake-snack collision checker 5 years ago
src added snack generator and implemented teh snake-snack collision checker 5 years ago
.gitignore Update .gitignore 5 years ago
LICENSE Initial commit 5 years ago
Makefile Controller ready, Input methods ready, Board Ready, Snake collision events to be made and Snack class to be implemented 5 years ago
README.md Update README.md 5 years ago

README.md

Snake Game in C++

A simple snake game, with terminal GUI implemented using ncurses library

Prerequisities

You need to install the following two packages:

  • libncurses5-dev : Developer’s libraries for ncurses
  • libncursesw5-dev : Developer’s libraries for ncursesw
  • gcc : C\C++ compiler
  • make : instalation tool Open up a terminal and type the folllowing commands
~$ sudo apt update && sudo apt upgrade
#Now to install compiler and instalation tool
~$ sudo apt-get install gcc make
#And the actuall library
~$ sudo apt-get install libncurses5-dev libncursesw5-dev

Downloading, Instalation and Running the Program

Now we will install and run teh program, but first let's download the repo:

~$ git clone https://github.com/VissaMoutafis/Snake-Game-in-C-
~$ cd Ch