Welcome to my Pong Game! This project is developed using C++ with the Raylib library and offers a classic Pong experience with several modern features. The game is designed with smooth, visually appealing graphics, using different shades of green to create a lawn-like feel.
-
Menu Screen:
- Player vs Player: Challenge a friend in a head-to-head Pong match. Player 1 controls their paddle using the
WandSkeys, while Player 2 uses theUpandDownarrow keys. - Player vs Computer: Take on the AI in a solo match. Control the paddle with the
UpandDownarrow keys. - Leaderboard: View the highest score and the latest best score. Scores are stored in a file and persist across game sessions, ensuring you can always track your performance.
- Player vs Player: Challenge a friend in a head-to-head Pong match. Player 1 controls their paddle using the
-
Gameplay:
- Pause and Resume: You can pause the game at any time by pressing the
Spacebar. While paused, you can choose to:- Resume the game by pressing
R - Return to the main menu by pressing
M - Quit the game by pressing
Q
- Resume the game by pressing
- Pause and Resume: You can pause the game at any time by pressing the
-
Controls:
- Player 1:
WandSto move the paddle up and down. - Player 2:
UpandDownarrow keys to control their paddle. - The
Spacebar is used to start or pause the game.
- Player 1:
-
Score Tracking: Scores are saved and fetched from a file, ensuring high scores are remembered across game sessions.
The game will also be available online via GitHub Pages, compiled into WebAssembly for web-based gameplay. You will be able to access the game directly in your browser through this link.
These are the in-game screenshots to showcase the look and feel of the game.
