Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1.09 KB

README.md

File metadata and controls

36 lines (24 loc) · 1.09 KB

✨ Ping Pong Game in Java

🌿 Overview

Welcome to the Ping Pong Game project! This is a simple two-player Ping Pong game implemented in Java. Players control paddles to hit the ball back and forth across the screen. The game tracks the score and ends when a player reaches a predefined winning score.

🌿 Features

  • Two-player gameplay
  • Keyboard controls for paddle movement
  • Real-time score display
  • Game reset functionality
  • Basic collision detection and ball movement

🌿 Getting Started

🌿 Prerequisites

Before you begin, ensure you have met the following requirements:

  • Java Development Kit (JDK) version 8 or higher
  • An Integrated Development Environment (IDE) like IntelliJ IDEA, Eclipse, or NetBeans, or a text editor like VSCode

🌿 How to Play -Player 1 Controls:

-Move Up: W -Move Down: S -Player 2 Controls:

-Move Up: Up Arrow -Move Down: Down Arrow -The game starts immediately and keeps track of the score. The game ends when one player reaches the predefined winning score.

🌿 License This project is licensed under the MIT License. See the LICENSE file for details