hamidurrk / Pong_Game

Simple 2D pong game in Java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Java 100.0%