Python · 2018–2021

Python Projects

Two interactive projects in Pygame and Tkinter. Student work, 2018–2021.

The two main projects from my time learning Python. The first is Columns, a game in the spirit of Tetris, with Pygame supplying the physics and the graphical surface. The second, made with Tkinter, is a ball simulator that uses object inheritance to drive an interactive, changing scene.


The Columns game in play, with stacks of colored gems falling down a dark playing field

Columns

Pygame · physics · game design

A game in the family of Tetris, built with the Pygame library, which provided the physics and the GUI. Matching three colors in a row clears them; the game ends when the columns reach the top of the screen.

Watch the recording of Columns
The Tkinter ball simulator window filled with colored circles — bouncing balls, floaters, and a black hole

Ball Simulator

Tkinter · inheritance · simulation

An interactive simulator built with Tkinter to explore object inheritance and module manipulation. Six ball types can be added to the scene: the Basic Ball, which bounces off the walls; the Floater, which changes direction at random; the Black Hole, which removes any ball it touches; the Pulsator, a black hole that grows as it consumes and shrinks when it does not; the Hunter, a pulsator that pursues other balls; and the Special Ball, which multiplies over time.

Watch the recording of Ball Simulator