Recently, I worked on a bouncing ball game code using a Python book. The point of the activity is to use Tkinter to code a game where once bounces a ball off of a paddle, and when the ball hits the ground the game is over. The book takes users through everything, including the downloading of Python, and gives information on every line of code. Apart from this activity it also had some other activities to play around with.
Later, I coded this game again using PyGame instead, and it was just as fun, though it used different concepts and lines of code. Both activities definitely let me flex my coding muscles and improve my Python skills.
The exact code of the PyGame version can be found here, and the Tkinter version is here.


Leave a comment