Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sameetasadullah/snake-game

A Simple Snake Game in C++
https://github.com/sameetasadullah/snake-game

cpp game game-development glut linux opengl ubuntu

Last synced: about 1 month ago
JSON representation

A Simple Snake Game in C++

Awesome Lists containing this project

README

        

Snake Game

### Description
A simple `Snake Game` coded in c++ language and using `GLUT / OpenGL` for displaying. Hurdles of different shapes for the snake and creating an unbeatable high score makes the game interesting. Not just that, the user can also resume the game as well.

### Manual
1) Open the ubuntu terminal in `src` folder and run the following command to install all the `Required Libraries`:
```
bash install-libraries.sh
```

2) Use the following command to `Build the Project`:
```
make
```

3) Use the following command to `Run the Game`:
```
./game-release
```





4) You can press `Enter` to select any option from the menu. To come back from the highscore menu, you will have to press `Left Arrow Key`. You can use `Arrow Keys` to move the snake: