https://github.com/citizendot/pingpong
PingPong game in C++.
https://github.com/citizendot/pingpong
cpp ncurses pingpong
Last synced: about 1 year ago
JSON representation
PingPong game in C++.
- Host: GitHub
- URL: https://github.com/citizendot/pingpong
- Owner: CITIZENDOT
- License: mit
- Created: 2021-07-29T08:18:06.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-09-04T16:47:10.000Z (almost 5 years ago)
- Last Synced: 2025-02-10T11:34:32.792Z (over 1 year ago)
- Topics: cpp, ncurses, pingpong
- Language: C++
- Homepage:
- Size: 794 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGE_LOG.md
Awesome Lists containing this project
README
# PingPong
_Thanks to [**@AidanSun05**](https://github.com/AidanSun05) for resolving issues with Windows terminal. Now, This project is truly cross platform!_
PingPong game built in C++. This game demonstrates several OOP concepts. Some of them are below.
- Inheritance
- Operator Overloading
- Paramaterized Constructors
- Code Splitting into multiple files (header files)
- enums
Ncurses library is used for console operations.
### Installation & Change Log
Refer [CHANGE_LOG](CHANGE_LOG.md). It also contains some additional details.
## Play
- Press `w` and `s` for left player movement. Up and Down respectively.
- Press `i` and `k` for right player movement. Up and Down respectively.
## Download
Choose your OS and Download the game [here](https://github.com/CITIZENDOT/PingPong/releases/tag/1.0.0).
## Demo
https://user-images.githubusercontent.com/52322531/127457485-e0e2adb1-a2ed-4ae6-a5ae-6a0b27f6f71e.mp4
### Inspiration
This project is inspired by [this](https://youtube.com/playlist?list=PLrjEQvEart7faAurUFBS0zHyxktPUuyEI) playlist. Also, I improved somethings over that.
- Game doesn't glitch. It super smooth now.
- Emojis & Better looking UI.
- Proper Classes which inherit from each other so, less repeated code.
- Last but not least, CROSS PLATFORM!