Pong The Wall (Processing and P5.js)

2021

In 2021, I took a class that taught me how to use Processing (Java) and P5.js for creative coding projects. I combined elements from two preexisting games, "Break Out" and "Pong!" to create 'Pong The Wall!'

Like “Pong!” This game is created with multiplayer intended. The goal is to hit all of the walls on the opposing side by controlling the paddle toward hitting the pong ball. This mimics the action of breaking bricks in “Break Out” with a similar ball. Once the action has been completed, the wall remains “dead” for the rest of the game. Hit every opposing wall before your opponent gets all of yours!

Left Player Control: W, A, S, D
Right Player Control: ⇦, ⇨, ⇧, ⇩

Documentation




This project has offered numerous challenges, teaching me the hardship of object oriented programming. My biggest challenge while debugging is hitting the ball with the paddle while both objects are moving toward each other. What ends up happening is the ball gets stuck inside the paddle because it is repeatedly registering a hit between both sides of the paddle. While this bug still has not been resolved, I am proud to have created a program that matches my initial conception for design and gameplay.

Code (p5.js)

See project code here.