Pong Game
Start Date: April 2021
End Date: April 2021
Main Technologies Used: Python, PyCharm
Description: This is another simple Python script I made by following a tutorial by freeCodeCamp. The full script was written using PyCharm and uses the GUI library called turtle. This game is based on the classic Pong Game where you can have one or two players and the two paddles hit the center ball back and forth. Each player will receive a point if they get the ball to go past the other player’s paddle and out of bounds. I took what the tutorial taught me and incorporated a menu screen into my own code for the game.
After completing the tutorial and implementing my own menu screen at the beginning of the game. I began work on the other ideas I had for the game. I created what I call “Pongerfall.” This is a game that works like the original Pong Game, but also incorporates some additional challenges that the players must face. This game is fully decked out with backgrounds/colors all around, a pause menu, and even allows input from the players to change their names before playing.
“Pongerfall” also has real physics when the balls collide with each other. Instead of simply setting the velocities to the opposite direction when colliding, the game takes into account an elastic collision scenario where momentum and kinetic energy are conserved. By now you know there are multiple balls that the players have to keep track of, but other challenges are there to face and where did the name “Pongerfall” come from you might ask. The name comes from Pong, like the Pong Game, and waterfall, as you would see in nature. This is where another challenge comes into place. While playing, with a single or multiple balls, extra walls will fall from the top of the screen to the bottom like a waterfall. These walls can collide with the ball if in the path that the ball is taking. This provides that extra challenge for the players and is where the name for the game originated from. All versions of the Pong and “Pongerfall” game can be found here on my GitHub page.