Skip to content

hamidurrk/Pong_Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pong Game

A classic Pong game written in Java, with two-player compatibility, pause/resume functionality, score tracking, and restart options.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

You need to have Java installed on your local machine.

Installing

  1. Clone this repository: git clone https://github.com/hamidurrk/Pong_Game.git
  2. Open the project in your favorite IDE.
  3. Run the game from the main class Game.java.

How to Play

  • Use the W and S keys for player 1 to move the paddle up and down respectively.
  • Use the UP and DOWN arrow keys for player 2 to move the paddle up and down respectively.
  • Press ENTER to pause and resume the game.
  • Press R to reset or restart the game.

The game never ends.

Built With

  • Java

About

Simple 2D pong game in Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages