Skip to main content

Python Game - Cleaver

Updated 2 min readMarkdown

I'm currently working on a game that my friend, Wilson, started a while back but never finished. We're trying to recreate a game his uncle used to play, which follows a specific set of rules. This project is a nice break from the websites, data systems, and mobile applications I've been working on this semester. This is a fun Python project using Pygame, a library I haven't used since my first year of college.

I've also enjoyed coming back to Python. I like how simple and flexible the language feels, especially not having to explicitly declare variables like in some other languages. It's nice to revisit a language I haven't used much recently and remember what I enjoyed about it.

My first commit focused on making the game interface resize based on the user's screen size. Since Wilson originally developed the game on his home PC, the window was larger than what my laptop could properly display. We also wanted to make the window resizable rather than locking it to fixed dimensions. I implemented initialize() and resize() functions so the interface could adapt to different screen sizes and be updated as we add more characters and features.

One thing I found interesting was learning how Pygame handles events through an event loop, rather than simply checking for changes once. It was a good reminder that even a small feature can involve thinking carefully about how a program responds to its environment.

This isn't a major project, but I genuinely enjoy working on it. It reminded me why I fell in love with coding, designing, and bringing ideas to life.

66 views

About the author

  • I am a Computer Science and Mathematics double major at Hendrix College with hands-on experience building practical software solutions. Currently a Software Developer at Disco Tray Studios, my background includes client experience work at Apptegy and technical support as a Hendrix HelpDesk Assistant. Outside of tech, I am a flag football athlete and enjoy painting.

No comments yet. Be the first to comment.