Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/telattar/chicken-invaders-dupe

A dupe for the famous Chicken Invaders game using OpenGL 2D
https://github.com/telattar/chicken-invaders-dupe

cpp glut opengl

Last synced: 9 days ago
JSON representation

A dupe for the famous Chicken Invaders game using OpenGL 2D

Awesome Lists containing this project

README

        

# Chicken Invaders Dupe 🐔🍗
A dupe for the famous Chicken Invaders game using OpenGL 2D.

This project is a simple 2D shooting game implemented using OpenGL and GLUT. The game involves a player-controlled character and an enemy character, both capable of shooting bullets.

![image](https://github.com/telattar/Chicken-Invaders-Dupe/assets/110330655/6ccf2a2c-c758-4fa8-83e9-85f60d15d364)

## How to Play

### THE MAIN CHARACTERS
- The **player** character can move up, down, left, and right using the arrow keys.
- The **player** can shoot bullets using the spacebar.
- The **enemy** character moves horizontally back and forth across the screen and shoots bullets periodically.

### How it goes...
- The player starts with 3 lives, and the enemy has 5 health points.
- If the player's bullet hits the enemy, the enemy loses a health point.
- If the enemy's bullet hits the player, the player loses a life.
- The game ends when either the player's lives reach zero or the enemy's health reaches zero, displaying a "game over" message.

### Power-ups
- Power-ups are generated at random intervals and locations on the screen.
- If the player captures a power-up, it activates a special mode (e.g., changing the player's color).
- The power-up has a timer, after which it deactivates if not captured.

Copyright - all rights reserved. 2022