Skip to content

A simple ping pong game in java that is playable on a single device by two players built using java

Notifications You must be signed in to change notification settings

Dhavallc/ping_pong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Overview This project is a simple implementation of the classic Ping Pong game, developed using Java. It showcases basic game mechanics, object-oriented programming, and user interaction.

Key Features: Single-player mode: Challenge yourself against the another player with a duel. Basic scoring system: Keep track of your wins and losses. Responsive controls: Smooth paddle movement using keyboard keys.(w,s for p1 arrow keys for p2) Visually appealing: Clean and clear game interface.

Technologies Used: Java: Programming language for game logic and structure. Swing: Java library for creating graphical user interfaces (GUI). AWT: Additional Java library for handling graphics and input events.

Getting Started Prerequisites: Ensure you have Java Development Kit (JDK) installed on your system. Download the project: Clone or download this repository to your local machine. Open in an IDE: Import the project into a Java IDE like Eclipse or IntelliJ IDEA. Run the game: Locate the main class file (GameFrame) and run it. Controls Player 1: Use the 'W' and 'S' keys to move the paddle up and down.

About

A simple ping pong game in java that is playable on a single device by two players built using java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages