Compared to project 1, project 2 implements classes to organize and simplify the project code. Project 2 is made prior to learning about inheritance, so the code could be simplified further.
Project 2 also added title screen along with game over screen, and the ability to retry. Through this project, I have gained good knowledge on classes and how powerful object oriented programming can be.
The source code can be found here.