VissaMoutafis 5 years ago
parent
commit
b420c6e3d2
  1. 11
      README.md

11
README.md

@ -17,20 +17,21 @@ A simple snake game, with terminal GUI implemented using ncurses library.
- [x] Increase speed of the snake when it devours a snack. - [x] Increase speed of the snake when it devours a snack.
- [x] Add a scoreboard. - [x] Add a scoreboard.
- [ ] Fix the window-resize factor, since it gets all messy when you minimize/maximize the terminal window. - [ ] Fix the window-resize factor, since it gets all messy when you minimize/maximize the terminal window.
- [x] Create a 'Game' class and provide interface through that function so that the user don't have to mess with the graphics
snake and controller classes.
- [x] Create a 'Game' class and provide interface through that function so that the user don't have to mess with the graphics snake and controller classes.
- [ ] Implement the Game::printGameStatistics function to print the score and games played of each player.
--- ---
## Prerequisities ## Prerequisities
You need to install the following two packages:
You need to install the following packages:
- __libncurses5-dev__ : Developer’s libraries for ncurses, - __libncurses5-dev__ : Developer’s libraries for ncurses,
- __libncursesw5-dev__ : Developer’s libraries for ncursesw, - __libncursesw5-dev__ : Developer’s libraries for ncursesw,
- __gcc__ : C\C++ compiler, - __gcc__ : C\C++ compiler,
- __make__ : instalation tool. - __make__ : instalation tool.
Open up a terminal and type the folllowing commands
Open up a terminal and type the folllowing commands:
```shell ```shell
#make sure everything is updated #make sure everything is updated
@ -62,7 +63,7 @@ Now we will install and run the program, but first let's download the repo:
and enjoy playing! and enjoy playing!
__Note__: You might want to delete the objective files and keep only the src part. In that case:
__Note__: You might want to delete the objective files and keep only the src part (__clean up__). In that case:
```shell ```shell
~$ make clean ~$ make clean
``` ```

Loading…
Cancel
Save