Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/rafaykhattak/pingpong-cpp
- Owner: RafayKhattak
- Created: 2023-06-12T07:20:26.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-06-19T18:35:12.000Z (over 1 year ago)
- Last Synced: 2024-11-13T02:32:19.866Z (3 months ago)
- Topics: cpp, oop, oops-in-cpp, ping-pong, raylib, raylib-cpp
- Language: C
- Homepage:
- Size: 1.44 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.