Skip to content

Theboycut05/ping-pong-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

✨ 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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages