Java-Pong-Game
This is a desktop application, built using Java, to play basic pong game.
- In the top-centre, it is the Score of the match.
- The Control for blue paddle are ‘W’(for up) and ‘S’(for down) keys, and for red one, the controls are default up(↑) and down(↓) keys.
Get it running in a maven project called PongGame
.
How to run the game
- Copy the code.
- Create a new Maven project with the code.
- Open the project in an IDE.
- Run the
Main
class.
How would you restructure the code to make it more readable and maintainable?