Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ckshetty4/ponggame
A Pong Game in C++ using Raylib.
https://github.com/ckshetty4/ponggame
completed-project deployed game-development graphics mathematics multiplayer-game playable-game
Last synced: 17 days ago
JSON representation
A Pong Game in C++ using Raylib.
- Host: GitHub
- URL: https://github.com/ckshetty4/ponggame
- Owner: CKShetty4
- License: mit
- Created: 2024-09-16T17:42:36.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-19T11:38:52.000Z (4 months ago)
- Last Synced: 2024-11-09T04:32:38.813Z (2 months ago)
- Topics: completed-project, deployed, game-development, graphics, mathematics, multiplayer-game, playable-game
- Language: HTML
- Homepage: https://ckshetty4.github.io/PongGameDeploy/
- Size: 9.87 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pong Game - Built with C++ and Raylib
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.
## Features
- **Menu Screen**:
- **Player vs Player**: Challenge a friend in a head-to-head Pong match. Player 1 controls their paddle using the `W` and `S` keys, while Player 2 uses the `Up` and `Down` arrow keys.
- **Player vs Computer**: Take on the AI in a solo match. Control the paddle with the `Up` and `Down` arrow 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.
- **Gameplay**:
- **Pause and Resume**: You can pause the game at any time by pressing the `Space` bar. 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`
- **Controls**:
- Player 1: `W` and `S` to move the paddle up and down.
- Player 2: `Up` and `Down` arrow keys to control their paddle.
- The `Space` bar is used to start or pause the game.- **Score Tracking**: Scores are saved and fetched from a file, ensuring high scores are remembered across game sessions.
## Deployment
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](https://ckshetty4.github.io/PongGameDeploy/).
## Screenshots
These are the in-game screenshots to showcase the look and feel of the game.
![GameMenu](/Screenshots/Menu.png "GameMenu")
![StartScreen](/Screenshots/StartScreen.png "StartScreen")
![PauseScreen](/Screenshots/PauseScreen.png "PauseScreen")
![GamePlay1](/Screenshots/Gameplay1.png "GamePlay1")
![GamePlay2](/Screenshots/Gameplay2.png "GamePlay2")