Bouncy Ball

◴ 10 July 2024 | ☕ 2 mins

Github Source Code

🗨️ Overview

This is a simple ball game developed using C++ and OpenGL as a part of my journey into graphics programming. The goal was to get hands-on experience with rendering, animation, and basic physics in a graphical environment.

The game features:

It served as a fun, beginner-friendly way to understand the fundamentals of computer graphics like:

💻 Software Stack

LayerTechnologies
LanguageC++
GraphicsOpenGL
RenderingGLUT/GLFW
Build Toolg++, CMake

🛡️ Why this stack?

🛠️ Installation & Usage

To run the game locally:

# Clone the repository
git clone https://github.com/your-username/ball-game-opengl.git
cd ball-game-opengl

Compile the project

# If you're using g++
g++ main.cpp -lGL -lGLU -lglut -o ballgame

# OR if you're using CMake
mkdir build
cd build
cmake ..
make

Run the game

./ballgame

Make sure OpenGL and GLUT/GLFW libraries are properly installed on your system.


🎮 Game Mechanics


🖼️ Screenshots

Ball Game Window

Ball in Motion


This project was a stepping stone into the world of graphics programming and game development. Great for beginners exploring how rendering and basic animation works behind the scenes.