Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sameetasadullah/centipede-game
A Simple Centipede Game in C++ using OOP (Object Oriented Programming) concepts
https://github.com/sameetasadullah/centipede-game
cpp game game-development glut linux oop oop-principles opengl ubuntu
Last synced: about 1 month ago
JSON representation
A Simple Centipede Game in C++ using OOP (Object Oriented Programming) concepts
- Host: GitHub
- URL: https://github.com/sameetasadullah/centipede-game
- Owner: SameetAsadullah
- Created: 2022-07-18T13:29:07.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-03T18:51:02.000Z (over 2 years ago)
- Last Synced: 2023-03-10T20:47:04.442Z (almost 2 years ago)
- Topics: cpp, game, game-development, glut, linux, oop, oop-principles, opengl, ubuntu
- Language: C++
- Homepage:
- Size: 5.18 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Centipede Game
### Description
A simple `Centipede Game` coded in c++ language and using `Object Oriented Programming(OOP)` concept. It is using `GLUT / OpenGL` for graphics. The centipede keeps moving in the given area and you can fire bullets at it. You can shoot mushrooms to gain points. When the head of centipede is blinking (it does at random times), then you can fire at it and break it into two halves. There are a lot of other fun stuff as well that makes the game more interesting.### 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 `Right Arrow Key` to select any option from the menu. You can use `Arrow Keys` to move the centipede and `Space Bar` to fire bullets: