From c44c4c381f599a95f4bc7e703086ef9251fac632 Mon Sep 17 00:00:00 2001 From: Vissarion Moutafis <44686370+VissaMoutafis@users.noreply.github.com> Date: Fri, 21 Feb 2020 18:42:28 +0200 Subject: [PATCH] Update README.md --- README.md | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ef2d627..74820c0 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,27 @@ -# Snake-Game-in-C- +# 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 +```