P🏓NG is a simulation of Table Tennis, a recreational activity and an Olympic sport since 1988, is also known by the term "ping-pong" or just "pong".
This repository is designed to help new game developers learn the fundamentals of game programming and design through a classic game.
- Classic Gameplay: Experience the timeless fun of Pong with modern enhancements.
- Keyboard and Controller Support: Play using your keyboard ⌨️ or Xbox controllers 🎮 , complete with vibration feedback.
- Resizable and Pausable: Enjoy a flexible gameplay experience that can be paused at any time.
- Single and Multiplayer Modes: Challenge yourself against a computer player or compete with friends.
- Understand the basics of game mechanics and physics.
- Gain hands-on experience with VB.NET and game development concepts.
- Learn how to implement user input handling, game states, and sound effects.
To begin, you'll need to set up your development environment and clone the repository to get the game files.
Visual Studio is an Integrated Development Environment (IDE) created by Microsoft.
It is a powerful software development tool that provides a comprehensive set of features and tools for building a wide range of applications.
This is the IDE I use to make P🏓NG and I recommend that you use.
Grab Visual Studio Community—it's free and perfect for indie devs.
Install Visual Studio from here: https://visualstudio.microsoft.com/downloads/ and include the .NET Desktop Development workload.
Click the "Code" button.
Copy the repository's URL.
Open Visual Studio.
Click "Clone a repository".
Paste the repository URL into the location field.
Click the "Clone" button.
Once the cloning process is complete, you will have your own local copy of the game that you can run and modify on your computer.
Dive into the code, experiment, and enhance the game while learning valuable programming skills!
To play using your keyboard, use the following controls:
-
Player 1 ( 🏓 Left Paddle)
- W : Move Up
- S : Move Down
-
Player 2 (Right Paddle 🏓 )
- Up Arrow ⬆️ : Move Up
- Down Arrow ⬇️ : Move Down
-
Pause/Resume Game
- P : Pause or Resume the game