The Ping Pong Game is a classic arcade-style game created using the Raylib library and C++. It features an AI opponent for single-player mode and a local multiplayer mode for playing with friends.
I created this project after my 2nd semester, using my C and C++ knowledge gained during that semester. I used the Raylib library to implement an AI and created a file management system for storing scores, demonstrating my understanding of core and complex C++ concepts.
I have also created a reusable library using Raylib called "Button" that can be reused in any Raylib project.
Note: I didn't know how to use Git when I made this project about 8 months ago, so I added it recently.
- Single Player Mode: Play against a challenging AI opponent.
- Multiplayer Mode: Play with friends on the same device.
- Customizable Settings: Adjust game settings such as paddle speed and ball speed.
- High Score Tracking: Keep track of your best scores in both single-player and multiplayer modes, stored in an old school file management system acting as a database management system (DBMS).
To quickly start playing The Ping Pong Game, follow these steps:
-
Clone the repository:
Clone the repository to your local machine. -
Run the game:
You don't need to install the Raylib library. I have included the necessary .a file and other requied settings in the repository.- Run
make all
to build the game. - Run
./game
to start playing.
- Run
- Game Controls:
- Use the arrow keys and/or WASD keys to control the paddle.
- Game Modes:
- Select the game mode (single player, multiplayer or play against A.I.) from the main menu.
- Enjoy the Game:
- Have fun playing The Ping Pong Game!