This is a classic arcade-style game built using OpenGL, C++, and GLUT libraries, in which the player controls a spaceship that must navigate through an asteroid field while shooting and avoiding obstacles.
- Cross-platform support
- 2D top-down view
- Randomly generated asteroids(small, medium,large)
- Different Bonus Points on different shoots
- Additional obstacles and enemies for added complexity
The game starts with a spaceship at the center of the screen, surrounded by a number of randomly generated asteroids. The player must use the arrow keys to move the spaceship around the screen while avoiding obstacles and shooting the asteroids. The space bar is used to fire weapons at the asteroids.
The objective of the game is to destroy all the asteroids to complete a level. As the player progresses through the levels, the game gets harder, with more and faster asteroids appearing on the screen.
The graphics and sound in the game are designed to provide a fun and challenging arcade-style gaming experience that can be enjoyed by players of all ages.
- OpenGL
- C++
- Glut
game.cpp
Contributions to this game are welcome! If you have any suggestions or improvements, please feel free to create an issue or a pull request in this repository.