Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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++
- Host: GitHub
- URL: https://github.com/sameetasadullah/snake-game
- Owner: SameetAsadullah
- Created: 2022-07-15T13:09:25.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-03T18:51:40.000Z (over 2 years ago)
- Last Synced: 2023-03-10T20:47:07.971Z (almost 2 years ago)
- Topics: cpp, game, game-development, glut, linux, opengl, ubuntu
- Language: C++
- Homepage:
- Size: 1.22 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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: