pingPongBall

Created a simple desktop application of ping pong ball using Java swing and concepts of object oriented programming. A simple GUI with the objective to hit the ball with the paddle and not let it leave the game screen. Player 1 can control its paddle using W and S keys. Player 2 can control its paddle using UP and DOWN ARROW keys.

Installation

To setup the app for development on your local machine, please follow the instructions below:

1.Clone the repo to your machine.

git clone https://github.com/sahuyuvraj/pingPongBall.git

The classic Ping Pong game written in Java.

The TGame.java class needs to be run in order to start the game. The Ball.java class creates the ball and controls its movement. The Paddle.java class creates the paddles the players use and controls its movements.

Screenshot

App Screenshot App Screenshot

🚀 About Me

I am a prefinal undergrad at NIT Raipur pursuing B.Tech in Computer Science & Engineering.Proficient in C++,JAVA,JAVASCRIPT, and SQL and familiar using firebase, github. Passionate about software development, web development and creating new projects.

🔗 Links

portfolio linkedin