Skip to content

This is a CSE423 course project at BRAC University. We created this game using OpenGL, inspired by the everyday lives of BRACU students.

License

Notifications You must be signed in to change notification settings

badhon495/Escaping-BRACU

Repository files navigation

Escaping-BRACU

This is the visual version of the game BRACU is playing with our lives. This game is part of the CSE423 course project and is developed using OpenGL. For this game, we were only allowed to use GL_POINTS, Midpoint Line, and Midpoint Circle algorithms. The game is developed using Python and PyOpenGL.

Features

  • Restricts the movement area randomly, level by level, using the midpoint line algorithm.
  • Generates a movable box using the midpoint line algorithm. The box represents the player.
  • Creates randomly generated bubbles using the midpoint circle algorithm. These bubbles will contain deduction values.
  • If the box collides with a bubble, the score will decrease randomly between 0.1 - 0.5.
  • The goal is to move the box to a designated person without touching any bubbles.
  • The score will be updated based on BRACU's grading system.
  • The box will not be able to cross the restricted movement area.
  • The game will have 11 levels.
  • The difficulty will increase as the levels progress.
  • Includes pause, play, and restart options.
  • Has an intro screen.
  • Has an outro screen with credits and a score-based message.
  • In levels 3, 8, and 11, an extra "Special-object" will follow the box to reduce the score.

How to Run

  1. Clone the repository or download the zip file:
    git clone <repository-url>
  2. Navigate to the project directory:
    cd Escaping-BRACU
  3. Run the game:
    python -u game.py

If the game does not run properly, install PyOpenGL using the following command:

pip install PyOpenGL

How to Play

  1. Use the arrow keys to move the box.
  2. Avoid the bubbles.
  3. Reach the designated person.
  4. Enjoy the game.

How to Contribute

  1. Fork the repository.
  2. Clone your forked repository:
    git clone <your-forked-repository-url>
  3. Create a new branch:
    git checkout -b <branch-name>
  4. Make your changes.
  5. Push the changes:
    git push origin <branch-name>
  6. Create a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgements

  • Thanks to the CSE423 course instructors for the project guidelines.
  • Special thanks to the OpenGL and PyOpenGL communities for their support and resources.

About

This is a CSE423 course project at BRAC University. We created this game using OpenGL, inspired by the everyday lives of BRACU students.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages