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.