Skip to content

About

Pong clone with Java and Swing. Beginner programmers and budding game developers are welcome here!

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

92 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

java-pong

Java-pong is a table tennis game built with the Java 7 API. The user plays against a simple AI and the winner is the player who scores seven points first. You can play the game here (Website is not yet functional).

Game Instructions

Use the arrow keys to move the left paddle. Press enter to start a new game (when a game is not currently started).

Getting Started

Prerequisites for Downloading and Running the Source Code

Download the Java Development Kit (JDK). Versions 7 and above would be suitable. Read the installation instructions.

Downloading and Running the Source Code

  1. Fork and clone the java-pong repository.
  2. Navigate to the cloned repository's java directory with the command cd java and run
javac player/*.java pong/*.java sound/*.java

to compile all of the project’s java files.

  1. Run the game using:
java pong.Game
  1. You can view the view the performance of java-pong with the command jconsole <pid of pong.Game on your computer here>. The goal is to minimize the number of threads while maximizing performance!

Bugs and support

About

Pong clone with Java and Swing. Beginner programmers and budding game developers are welcome here!

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages