Case Study / Game Design / Python

PyMario

A Mario-style platformer built in Python with Pygame by a team of three, for the Software Engineering Practices course at Deree. Two timed levels, a leaderboard and a level editor, built the way a real software team works: in sprints, with Git, code reviews and testing.

Team
Three developers, each working across the whole game
Course
ITC2205 Software Engineering Practices
When
Fall 2025
Tools
Python, Pygame, PyCharm, Git and GitHub
PyMario gameplay: a small knight jumps up a hill of grass, dirt and rock tiles under a pale blue sky, with a running timer in the corner.
Level 1, with the timer running. Pixel art from a free asset pack.

The Idea

A platformer is easy to understand and hard to put down. We kept the levels short and put a timer on screen, so every run becomes a race against your best time, and the leaderboard gives players a reason to go again. On top of that, a level editor lets players build their own levels and challenge each other.

Designing for the Player

Even in a small game, how it feels to play is a UX question. These are the choices that shaped it.

Learnability

Easy to Pick Up

Two keys to move and one to jump, with a controls screen one click away from the main menu.

Forgiveness

Mistakes Do Not End the Run

A double jump saves a jump that came up short. Falling sends you back to the start instead of a game over screen, and Esc always returns to the menu.

Game Feel

A Camera That Follows Smoothly

The camera eases toward the player instead of snapping to them, so movement is easier on the eyes and easier to follow.

Motivation

A Reason to Play Again

The timer runs on screen the whole time, and the five fastest times for each level are kept on the leaderboard.

The main menu: Level 1, Level 2, Controls, Leaderboard, Create Level, Play Custom and Quit Game.
The main menu: everything is one click away.
The controls screen, listing the keys for the player and for the level editor.
The controls screen, for playing and for the editor.

Players Become Designers

The level editor turns the game into a tool. Players click to place blocks, pick from grass, dirt, rock and the finish line with the number keys, scroll through the level and save it. Their levels appear under Play Custom, with a leaderboard of their own.

The level editor: a grid with a custom level built from grass, dirt and rock blocks, and the editor controls listed in the corner.
The level editor, with a custom level built in it.

Built Like a Real Team

The course was about how software gets made, not only what gets made, so we ran the project the way teams do in industry. All three of us worked across the whole game, which only works when the process and the code are clear to everyone.

  • PlanningWe planned and delivered the work in sprints
  • Version controlGit and GitHub, so three people could work on the same code
  • Code reviewsWe reviewed each other's code
  • TestingWe tested the game as it grew
  • StructureEach screen, from the menu to the editor and the leaderboards, is its own state
  • DocumentationEvery module, class and function explains what it does, so anyone could pick up any part

Choosing What to Keep Simple

Part of the strategy was deciding where not to spend time. The menus are plain buttons, and saved levels are named automatically instead of asking players to type a name. That kept our effort on what players notice most while they play: the movement, the camera, the leaderboard and the editor.

What I Would Improve

With more time, I would give the menus the same pixel style as the game, so the whole experience feels like one product. I would also animate the knight with the frames its sprite sheet already has, let players name their levels and put their name next to their times, and make the finish line easier to spot.

What I Learned

Working with three people on one codebase showed me why structure matters: clear states, documented code and reviews meant any of us could pick up any part without slowing the others down. It also showed me that game feel is UX. A smoother camera or a forgiving jump changes how a game feels to play, even when the player never notices why.

Want to See More?