Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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: