A simple 2D Ping Pong game developed in C#.
- Classic two-player Ping Pong gameplay
- Basic AI opponent (for single-player mode)
- Score tracking
- Keyboard controls for both players
- Windows OS
- Visual Studio 2019 or later
- .NET Framework 4.8
-
Clone the repository:
git clone https://github.com/AmirAbdollahi/pingpong-2d.git
-
Open the
PingPong2D.sln
file in Visual Studio. -
Build and run the project.
- Player 1:
W
(up),S
(down) - Player 2:
↑
(up),↓
(down)
Great idea! Adding a "Future Features" section gives contributors a clear roadmap of what they can work on. Here's how you can write it:
The following features are planned for future development. Contributions are welcome!
-
Improved AI
Make the AI smarter and more adaptive based on the player's performance. -
Sound Effects and Music
Add paddle hit sounds, background music, and scoring sound effects. -
Power-Ups
Introduce random power-ups like speed boost, paddle shrink/grow, or double score. -
Scoreboard UI Improvements
Enhance the visual appearance of the score display. -
High Score Tracking
Store and display the highest scores achieved across sessions. -
Multiplayer Over LAN/Internet
Allow remote two-player mode over a network.
Would you like me to append this to your full README as a final version?
Contributions are welcome! Please fork the repository and submit a pull request.
This project is licensed under the MIT License.