Fruit
Match

A puzzle game. A research toolkit.

My contribution

I led the development of an iPad puzzle game for a clinical research project — from its gameplay and visuals to the tools researchers use to shape each level.

  • Gameplay programming
  • Researcher tools
  • UI & interaction
  • 2D art, animation & VFX
Research project
UKE · HTW
Development
Mostly solo
Duration
2 years
Platform
iPad
FruitMatch in motion
About the project

FruitMatch is a configurable match-3 game built for PTSD research. Developed as part of a PhD project at the University Medical Center Hamburg (UKE), it combines familiar fruit matching with additional movement rules, teleports, goals and interaction systems.

I was the sole developer for most of the project, working closely with the researcher Anne. Anna, another HTW student, joined for three months to contribute a separate module.

The research explores the potential of specific gameplay mechanisms. My part was to translate the research requirements into a playable game and flexible tools that let the researcher adjust individual levels directly on an iPad.

Tools & workflow

Unity · C# · Rider
Photoshop · Xcode
Custom editor tools · JSON + gzip

Project context

A research collaboration involving UKE, the University of Hamburg and HTW Berlin. Built for iPad, with particular attention to the first-generation iPad Air.

From first mockup
to a working game.

The visual language and gameplay evolved together — from early experiments to a configurable puzzle experience.

The development story

Over two years, I developed the gameplay systems, interface, 2D visuals, audio integration, animation and effects. Working closely with the researcher meant that the game and its tools had to stay flexible as requirements took shape.

A large share of the work went into the level editor. Tuning parameters and changing rules were central to the research workflow, so these capabilities needed to be available directly on the iPad.

Alongside feature development, I refactored critical systems to keep the project maintainable and made targeted optimizations for the limited hardware of the first-generation iPad Air.

Designed around
the research.

The editor, the world builder and the systems behind a highly configurable game.

A level editor, made for touch.

Each level can be configured directly on the iPad. A touch-friendly, tabbed interface gives the researcher control over the playing field, fruits, rules and goals.

Set the size of the playing field.

Adjust the board’s width and height separately. In this example, a width of 7 and a height of 5 create a board with seven columns and five rows.

Example: board width is set to 7 and board height to 5. The resulting rectangular board has seven columns and five rows.

Choose which fruits appear.

Select the fruit types for a level. In this example, apples, oranges and pears are selected — and those are the fruits that appear on the board.

Example: apples, oranges and pears are selected in the editor; the resulting board contains those three fruit types. Blueberries and plums are not selected.

Connect two cells with a teleport.

Link an entry cell to a destination elsewhere on the board. The example follows the same apple from entry A to exit B, so the connection is easy to trace.

Example teleport connection: an apple enters the linked cell A and appears at destination B. The arrow connects the entry and exit.

Name the level and describe it.

Write a level name, description and text for its default mode. The example names the level “Orchard” and adds a short description.

Example of editing level details: empty level name and description fields are filled with Orchard and Match three identical fruits.

Illustrative examples. The original editor screens are shown below.

More control over each level.

Tile directions
Assign directions such as Right or Bottom to the level’s tiles.
Match rules
Adjust the rules used to evaluate fruit combinations.
Bomb settings
Enable the bomb system and configure its individual bomb types.
Goals & point rewards
Set the player’s targets and configure the points awarded.

Fruit parameters, luck, display and graphics settings can also be adjusted.

Inside the editor

Explore 15 views of the level editor.

The researcher’s controls in action.

A walkthrough of the admin settings and the configurable systems behind each level.

Connecting levels into a world.

A node-based world builder lets administrators organize the game’s levels directly on the iPad. The surrounding admin interface brings the research controls into the same touch-based workflow.

A world built from connected levels
Researcher administration

Clarity on the player’s side.

With so many configurable rules, players need a clear introduction to what is available in each game. FruitMatch explains the active options and restrictions before play and provides additional guidance when needed.

The interface also includes sound, graphics and animation settings, with localization into eight languages.

Built for a first-generation iPad Air.

The target device shaped the implementation. I focused on expensive operations in performance-critical code and managed memory carefully to reduce runtime decompression while retaining visual quality.

Targeted refactoring kept the core systems maintainable throughout the project.

Object pooling
A tailored pooling system for reusable objects.
Coroutines & IEnumerators
Used extensively to organize gameplay behavior.
Memory & runtime work
Careful memory use and fewer expensive operations in hot paths.

A foundation to build on.

After completing my studies at HTW Berlin, I handed the project over to Darius and Marvin. At that point, it was over 80% complete, with the core systems implemented and stable.

The remaining work centered on polish, final content and smaller adjustments. The two students completed the project within a few months of the handover.

Research flyer
A completed level

The people behind it

Research & coaching

Anne K. · Prof. Dr. Jürgen G. · Prof. Dr. Simone K.
Prof. Thomas Bremer · David W.

Development

Mirwan Jomaa · Anna (three-month contribution)
Project completion: Darius & Marvin