Skip to content

The Egg Catcher project is a simple interactive game using OpenGL, where the player controls a basket to catch falling eggs, demonstrating basic graphics rendering and user interaction.

Notifications You must be signed in to change notification settings

tejasam571/Egg-Catcher-using-openGL-

Repository files navigation

Here's a sample README.md file for your Egg Catcher game:

# Egg Catcher Game

## Overview
Egg Catcher is a simple and interactive game developed using Python and OpenGL. In this game, a hen drops eggs, and the player controls a basket to catch them. The game is over if the player catches a red rotten egg. This project demonstrates basic computer graphics visualization and interaction.

## Features
- **Gameplay**: Control a basket to catch falling eggs.
- **Game Over**: The game ends if a red rotten egg is caught.
- **Graphics**: Implemented using OpenGL for computer graphics visualization.

## Technologies Used
- **Programming Language**: Python
- **Graphics Library**: OpenGL
- **IDE**: Visual Studio Code
- **Additional Libraries**: OpenCV

## Installation

1. **Clone the Repository**:
   ```bash
   git clone https://github.com/your-username/egg-catcher-game.git
   cd egg-catcher-game
  1. Install Dependencies: Ensure you have Python installed and install the necessary libraries:

    pip install numpy opencv-python PyOpenGL
  2. Run the Game: Execute the main script to start the game:

    python egg_catcher.py

How to Play

  • Use arrow keys to move the basket left or right.
  • Catch as many eggs as you can, but avoid the red rotten eggs.
  • The game ends if a red rotten egg is caught.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Contributing

Contributions are welcome! Please feel free to submit a pull request or open an issue.

Acknowledgments

Special thanks to all the open-source projects that inspired this game.


Replace `https://github.com/your-username/egg-catcher-game.git` with the actual URL of your GitHub repository.

About

The Egg Catcher project is a simple interactive game using OpenGL, where the player controls a basket to catch falling eggs, demonstrating basic graphics rendering and user interaction.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages