Python Game Framework (Pong)
It seems that at some point in every learning developers lifecycle, they attempt to recreate a classic video game, such as Pong. This is my version and my attempt at this vintage video game.
At this point in my development lifecycle I was most familiar with Python, so this game was developed in Python using the PyRay and Raylib libraries. If I were to reattempt this project today, I would most likely go with a more game development focused framework. I've recently been playing around with Godot, which utlizes its own scripting language, but it is very similar to Python in syntax so it was easy to learn.
This project showcases all object oriented programming fundamentals such as polymorphism, inheritance, encapsulation, and abstration. The entire source code can be viewed here. Looking at the casting and scripting directories we can see a couple main parent classes, including the actor class and the action class. Most objects and game logic actions inherit this parent class before utilizing polymorphism to add specific functionality.
A quick video demonstration and overview of the code can also be seen here or below.