Mah’s Jong
A two-player race to build a mahjong hand, made by a team of nine students in C++ on the CUGL framework. As project lead I set each sprint’s tasks and priorities with the software lead, and I built several of the game’s scenes and systems.
Showcase Rated one of the top games by players at the GDIAC spring 2025 showcase; 100+ beta downloads
Two players race to complete a mahjong hand.
A full hand is four sets of three and a pair. Each turn a player draws from the pile or the discard, then discards. Taking the discard means revealing a permanent set. The pile is a visible layered grid, and eight zodiac “Celestial” tiles help a player or disrupt their opponent.
Every task in a sprint had an owner, a due date and a priority.
The team was nine programmers and designers, with a software lead, a design lead and a UX lead. The software lead and I decided together what each sprint would deliver and in what order. I set every task’s owner, due date, expected time and priority from 1 to 5, and wrote the detailed task descriptions the team worked from.
I also ran the handoff between the designers and the programmers. Designers built each screen in Figma and exported it; programmers loaded it into the game. In that sprint, loading every new scene was my own top-priority task.
The team turned a scoring game against a boss into a one-on-one race.
The first rules had draw, play and score phases, a shop, and a “Grandma” boss with hit points. The team’s revised design dropped the scoring and the boss. I removed the grandma tiles and the score display from the build.
- Draw
- Play
- Score
- Shop
Special tiles became Celestial tiles, with three roles.
The designers grouped the eight tiles as Support, Risky and Disruptor: help yourself, gamble, or get in the opponent’s way. I took part in brainstorming the early action-tile designs and built the animations that show an opponent’s Celestial tile taking effect.
- Rat’s Gambit: draw any tile from the pile
- Pig’s Fortune: draw any tile from the discard
- Dragon’s Dance: rearrange a row of the pile
- Monkey’s Bargain: trade one tile with the opponent
- Rooster’s Crow: shuffle the pile
- Ox’s Burden: two random tiles can’t be used in a set
- Rabbit’s Leap: change the rank of an opponent’s tile
- Snake’s Molt: change the suit of an opponent’s tile
The game ends each turn itself and shows what the player can do next.
I first built an end-turn button, then limited it to the moments a turn could end, then replaced it with automatic turn ending and on-screen guides for each action.
I also built the turn timer, which ends a turn when it runs out, and lengthened it from 30 to 45 seconds. A teammate later reworked the timers.
The tutorial became a single-player scene you play through.
A teammate built the first tutorial. I rebuilt it with another programmer as a scene the player plays through, from a designer’s Figma layout.
- 6❘❘2●7万Draw from the pile
- 5●Draw the discarded tile
- 9万Drag to discard
- 5●5●5●Play a set
- ✦Play a Celestial tile
Project lead, and a programmer on the game’s scenes.
As project lead I set the team’s tasks and priorities with the software lead, wrote the detailed task descriptions, and ran the handoff between the designers and the programmers. In code I built the discard pile and its interface; the settings, game-over, info and help scenes; and the AnimatedNode class. I started the animation controller and the tutorial scene, which teammates and I finished together.