Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/rafaykhattak/pingpong-cpp

PingPong Game is a classic arcade game implemented in C++ using the Raylib library
https://github.com/rafaykhattak/pingpong-cpp

cpp oop oops-in-cpp ping-pong raylib raylib-cpp

Last synced: 21 days ago
JSON representation

PingPong Game is a classic arcade game implemented in C++ using the Raylib library

Awesome Lists containing this project

README

        

# PingPong Game
A classic Pong game implemented in C++ using the Raylib library. This project provides a simple and enjoyable game experience where players can compete against each other or play against an AI-controlled opponent.
![Screenshot (496)](https://github.com/RafayKhattak/PingPong-cpp/assets/90026724/9c7862e8-d441-4400-b71b-513f1412ffe1)
## Features
- Player vs CPU gameplay mode
- Smooth and responsive ball movement
- Collision detection between the ball and paddles
- Score tracking for both players
- Sound effects for ball and wall collisions
- Intuitive and easy-to-use controls
## Requirements
- C++ compiler (supporting C++11 or later)
- Raylib library installed in C Drive
## Installation
1. Clone the repository:
```shell
git clone https://github.com/your-username/PingPong-cpp.git
```
2. Build the game using your C++ compiler (.exe already available in build folder)
3. Run the executable available in the build folder
## Contributing
Contributions are welcome! If you would like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch.
- Make your changes and commit them.
- Push your changes to your forked repository.
- Submit a pull request.
## Acknowledgments
- The Raylib library for providing an easy-to-use framework for game development.