Pong 2020
[java source] Pong Part 5
Paddle movement is reworked so that paddles accelerate and have momentum that they can impart to the ball. Boundaries are also added for the paddles so that they bounce off the screen top and bottom.
[java source] Pong Part 4
Collision now causes a reflection of the ball on both paddles in addition to declipping to reduce physics glitches. Score counters are added. The ball always reflects at the same angles, however.
[java source] Pong Part 3
Hitbox based calculations are leveraged to detect when the ball touches the paddle. The left paddle now turns red when collision is detected.
[java source] Pong Part 2
Classes are added for the ball and paddle as well as keyboard input to control the paddles.
[java source] Pong Part 1
The basic structure of the applicaiton is built along with introducing a game loop and physics data for a ball.