The Masker

THE MASKER

"Paint from memory"

Genre: Memory / Painting
Engine: Unity
Language: C#
Year: 2026
🏆 3rd Place - Uni Winter Game Jam
GitHub

ABOUT THE GAME

The Masker is a memory and painting game set in a Venetian mask shop. We made it during our uni's 2026 Winter Game Jam and placed 3rd. Customers show you a decorated mask, you memorise the pattern, then paint it from memory. Simple idea, but scoring it fairly? That was a nightmare.

After the jam, we got to showcase it at the Guildford Games Festival 2026, which was a great experience. Seeing strangers actually play something we'd built in 5 days felt surreal.

SYSTEMS I IMPLEMENTED

The Gesture Recognition Scoring System

This is where I spent most of my time, and honestly where I failed the most before getting it right.

Attempt 1: My lecturer suggested histogram comparison, which led me to Hu Moments. These are mathematical values that describe shapes regardless of size or rotation. Sounds perfect, right? In practice, completely useless. The scores were so abstract that "close but messy" and "completely wrong" looked nearly identical. Scrapped it.

Attempt 2: I tried dividing the mask into a grid and counting pixels per section. Better for detecting if paint was roughly in the right area, but it ignored shape entirely. You could scribble randomly in the right spots and score well. That felt broken.

Attempt 3: Found the $P algorithm, an academic gesture recogniser. Great at shape matching since it could tell a wavy line from a zigzag, but it didn't care about colour or exact position.

What actually worked: Combining them. 50% shape score from $P, 50% spatial score from the grid system, with a colour accuracy multiplier. Wrong colour? That's a 0.5x penalty on that portion. Paint where there shouldn't be any? Score deduction. It's not elegant, but playtesters said it felt fair, and that's what mattered.

The 50/50 split came from testing too. Earlier I had it at 70/30 favouring shape, but people who got the general idea but placed it slightly off felt cheated. Equal weighting was more forgiving.

Game Loop Management

I also built the GameSceneManager. Customer enters, shows the pattern, timer counts down, you paint, score calculates, customer reacts. Had to make sure it played nicely with the systems my teammates were building for UI and animations.

WHAT I LEARNED

The biggest lesson was that the "correct" academic solution isn't always the right one for games. Hu Moments are mathematically sound but felt terrible in practice. Sometimes you need to bodge together multiple imperfect approaches until the result feels good to a player. That's not something I expected going in.

I also learned the hard way about debugging visual systems. Colour detection wasn't working and I couldn't figure out why. Eventually I added debug logging that printed the actual RGB values from the pattern images, and it turned out my detection thresholds didn't match the actual colours being used. Obvious in hindsight, but I spent hours on that. Now I make invisible problems visible first before trying to fix them.

Working in a 5-person team during a jam taught me about scope. We were ambitious with the gesture system, probably too ambitious. It worked and the judges liked it, but we burned time on edge cases that could've gone toward polish. For future jams, I'd lock the core mechanics earlier and communicate expected values upfront. My scoring system kept changing mid-jam, which made life harder for teammates building UI around it.

Project Details

Developer Harun Yusuf
Role Lead Programmer
Team Size 5 People
Duration 5 Days (Game Jam)
Event Uni Winter Game Jam 2026
Result 🏆 3rd Place
Showcased Guildford Games Festival 2026
© 2026 Harun Yusuf. All rights reserved.

How to Play

  • Watch the customer's requested mask carefully
  • Select the matching mask template
  • Paint the pattern using red, yellow, or blue
  • Submit before time runs out!

Scoring

  • 60%+ = Perfect! Full payment
  • 45-59% = Acceptable, half payment
  • Below 45% = Rejected, no payment

Controls

Mouse to paint, click buttons to select colours and submit.