Skip to content

🏓 Table Tennis Simulation 2D Game learn the fundamentals of game programming and design through a classic game

License

Notifications You must be signed in to change notification settings

JoeLumbley/Pong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

P🏓NG

011

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.

Features

  • 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.

Learning Objectives

  • 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.

Getting Started

To begin, you'll need to set up your development environment and clone the repository to get the game files.

🛠️ Set Up Your Environment

014

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.

005

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.

🧬📦 Clone the Repository

Click the "Code" button.

Copy the repository's URL.

010

Open Visual Studio.

Click "Clone a repository".

006

Paste the repository URL into the location field.

Click the "Clone" button.

008

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!

⌨️ Keyboard Controls

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

Releases

No releases published

Packages

No packages published