Skip to content

Hiranmaya2004/Pong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🏓 Single Bat Pong Game

This is a simple Pong-inspired game written in C++ using the SFML library. You control a single bat that rebounds a ball from the top of the window. The ball gets faster with time, your score increases with every rebound, and the game ends when you lose all 3 lives.

🎮 Game Features

  • Single bat controlled by the player
  • Ball rebounds from the bat and screen edges
  • Score increases with each successful rebound
  • 3 lives — lose one if the ball misses the bat
  • Game ends when all lives are lost

🛠 Requirements

  • C++ Compiler (e.g., g++)
  • SFML Library (Simple and Fast Multimedia Library)

Make sure SFML is installed and properly linked.

📦 Installation & Running

Use the provided Makefile to build and run the game:

🔨 Compile

make compile

▶️ Run

make run

🧹 Clean (remove build artifacts)

make clean

Alternatively, run everything in one step:

make all

👨‍💻 Author Hiranmaya Panda


Would you like help customizing this for multiplayer Pong or adding a scoreboard UI?

About

Pong game made using SFML library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published