Physical Computing · Co-Play System

MazeRunners

A physical maze just sits there. Making it read as a responsive multiplayer system meant tying sensing, game state, and feedback together in real time.

A ball passing a sensor advances round state and drives score, timer, haptics, lights, audio, and the browser console together. Built and exhibited.

Design technologist in a team project: I wrote the IR and vibration code, drafted the servo code that an AI tool rewrote, did the wiring and testing, and built the web console.

Two players' hands over the lit maze at the exhibition, each finger in a wired sleeve

The problem

The brief was a physical maze game for a public exhibition. The failure mode showed up in the first build: a nice object that people pushed a ball around while nothing happened. Scoring lived in someone's head, traps were painted lines, and the only feedback was other players laughing.

The design problem was not the maze. It was making the system notice events and answer them fast enough that players can follow what just happened. Score, timer, vibration, lights, audio, and a browser console were each a channel that could carry or muddy the same event.

The players were exhibition visitors, observed across 9 groups (36 people). A team member explained the rules before each round.

Three decisions

  1. Nobody steers alone

    Shared color wristbands are paired across players (A/B, B/C coupling), so no single person can drive any direction alone. One person alone gets immediate lock feedback, while paired touch drives all five synchronized channels.

    The conflict
    With one control per person, each visitor can play alone and nothing makes the group act together.
    What I gave up
    Buttons and a joystick, the first concept, were rejected as too much like an arcade game. Weight sensing or a five-finger pressure pad was considered but never tested.
    Evidence
    Putting on wristbands and finger sleeves took each group about a minute, and many players struggled with the rules even after a team member explained them.
  2. A buzz on the finger instead of a shock, and one ball pass is one event

    Relay-driven vibration motors in finger sleeves keep feedback on the body. Each IR sensor needs three consecutive samples and then cools down for 400 ms, so one ball pass is one round event.

    The conflict
    The electric-shock idea could not meet both complexity and safety, and a raw IR double-fire makes the score and the buzz on your finger disagree.
    What I gave up
    The mild electric shock trap from the initial concept, dropped at the Mid-Fi stage (25 Apr 2026). Vibration is a gentler sensation, and the cooldown introduces a brief blind window for rapid re-triggers.
    Evidence
    Raw IR reads could fire more than once on one ball pass, so score and buzz disagreed. Bench testing tuned debounce and cooldown until one ball pass produced exactly one game event.
  3. The portfolio demo runs the exhibition's own rules

    The JS Canvas console shares one event dispatcher. When USB Serial connects to the Arduino Mega it logs live traps and relays; without hardware attached it replays the same trap, score, and haptic state transitions in the browser.

    The conflict
    Exhibition wiring degrades without fast bench diagnostics, yet people reading a web portfolio never own an Arduino Mega harness.
    What I gave up
    Text-only serial logs plus a scripted video, which hide which of the 10 IR zones jittered and cannot prove trap timing. Two separate consoles for the exhibition laptop and the portfolio, which would drift apart. Live mode still needs desktop Chromium with USB permission.
    Evidence
    Parity tests caught drift whenever the firmware or the console was edited alone.

Try it yourself

Watch for the lock: tap one wristband alone and the maze refuses to move; switch to two-player co-touch and steer the orb to GOAL.

Tap a wristband in Single-player mode to feel the lock, then switch to Two-player co-touch (or press Arrow keys on the grid) to steer the orb to GOAL.

Lazy-loaded near viewport so initial case paint stays fast.

Ready: try the controls below to test state transitions and guardrails.

Built and tested

Everything hangs off a single round state machine. A ball breaks an IR beam, round state advances, and that one event fans out: score and timer displays update, a vibration pulse fires in the player's finger sleeve, the LED strip and speaker respond, and the browser console logs it.

Platform tilt runs on its own Uno (SafeTouchServoController) with hold-to-move behavior, the ball launcher's stepper on a second Uno, and the Mega handles sensing; all boards share one ground.

Build evidence

Exhibition photographs of the physical build alongside a video clip of the working feedback circuit.

The MazeRunners table set up at the exhibition with players around it
Exhibition setup, mid-round.
Close-up of the wearable finger sleeve that delivers vibration feedback
The finger sleeve — where the trap actually lands.
The wiring layer underneath the maze board
Wiring layer under the board.
Annotated engineering overview of sensors, controllers, and feedback hardware
Annotated overview: sensors, controllers, feedback.
The PlanB feedback circuit running.

What was tested

  • Bench: debounce and cooldown tuned on the FC-51 IR array until one ball pass produced exactly one game event.
  • Regression tests: serial sync, feedback sync, servo response, and audio parity, so the demo cannot quietly drift away from the firmware.
  • Exhibition, June 2026: 9 groups (36 people) played. Some players were surprised by the vibration the first time. Play was observed, not instrumented.

Five states

StateWhat happensHow it recovers
NormalScore, timer, LED strip, sleeve haptics, audio cue, and the event log respond together on every validated event.Debounce and cooldown keep one ball pass to one count; the servo holds only while contacts close.
EmptyBefore Start, or one player touching a wristband alone: an idle or 'Co-touch required' cue instead of a silent tap.Zero tilt on solo contact.
OfflineNo Arduino Mega over USB: a Demo Mode banner, with all 5 channels still inspectable.Parity tests keep Demo Mode on the firmware's event order and cooldown.
ErrorUSB unplugged, Web Serial unsupported, or a servo fault: the console logs the reason.One step back to Demo Mode; a diagnostic IR zone helps bench pin checks.
RefusedShock feedback, or a sensor bounce inside an active cooldown.There is no shock hardware in the build, and one ball pass cannot charge two penalties.

Results, limits and next steps

A working, exhibited system: firmware modules for game state, IR sensing, player chain input, vibration and audio; a Mega plus two Uno boards on a shared ground; and a browser console with parity tests.

The strongest lesson was that on hardware, timing is design. Debounce sounds like an electronics detail until a double-fire makes the score disagree with the buzz on your finger, and the player stops trusting the system. The weakest part is that I proved the loop works without measuring which parts of it mattered.

Limits

Exhibition play was observed, not instrumented. I can describe what players reacted to, but I cannot quantify which feedback channel carried the most information.

The build is a single exhibition unit, not a manufacturable product. Wiring is hand-run and calibration is per-venue, so nothing here proves durability, yield, or repeatable assembly.

Next

Log sensor events, feedback fires, and completion times per session, then compare rounds with channels selectively disabled, and cut the channels players ignore.

For interviewers

Process, research notes, rejected versions and hard questions. Collapsed by default.
Design term note · inspect:Hardware timingRaw FC-51 IR beams flicker two or three times per ball pass; a firmware cooldown locks score, timer, LEDs, and sleeve haptics to one shared event.
Interaction Journey

How the work unfolded, stage by stage

Step-by-step trace of triggers, user expectations, system behavior, cognitive friction, and explicit recovery paths.

  1. Facilitated sleeve fitting & shared wristband coupling

    Observed in useUX & IASystems & HW
    Trigger
    Four strangers gather around the wooden maze table at the public exhibition
    User mental model
    If each person gets a solo button, we'll play silently in parallel; shared wires make us figure out who needs to move together.
    System action
    A team member explains the rules and players put on the vibration finger sleeves; adjacent color wristbands (A/B, B/C) gate tilt axes so solo taps lock cleanly.
    Cognitive friction
    At the exhibition, gearing up took each group about a minute, and many players still struggled with the rules after the explanation.
    Edge & recovery
    If a single wristband taps alone, console & board immediately signal lock feedback so players discover co-touch rules without reading manuals.
  2. Hold-to-move isolated servo actuation

    Bench / hardware verifiedSystems & HWAI Trust
    Trigger
    Coupled players bridge matching wristbands simultaneously
    User mental model
    When we let go, the board should stop immediately instead of violently slamming or freezing the round.
    System action
    SafeTouchServoController isolates tilt motors from the PlanB Mega feedback board and enforces hold-to-move bounds.
    Cognitive friction
    Running servo PWM on the same microcontroller as tight IR polling caused timing jitter and risked crashing the entire round.
    Edge & recovery
    Servo isolation allows mechanical fault resets without losing score, timer, or round state on the primary controller.
  3. Debounced 10-zone FC-51 IR ball detection

    Bench / hardware verifiedSystems & HWUX & IA
    Trigger
    Rolling ball breaks an FC-51 infrared beam in trap, diagnostic, spare, or goal zone
    User mental model
    Hitting one trap should subtract once and buzz once—never trigger three penalties for one roll.
    System action
    Per-channel firmware debounce + cooldown gate compresses noisy IR bounce into exactly one atomic round event.
    Cognitive friction
    Raw sensor reads double- and triple-fired on a single ball pass, causing score and finger buzz to disagree and breaking player trust.
    Edge & recovery
    Bench tuning locked 1 ball pass = 1 event; cooldown duration trades a brief re-trigger blind window for absolute channel agreement.
  4. Single round state machine fanning out to 5 channels

    Observed in useSystems & HWUX & IA
    Trigger
    Validated IR event advances the Mega round state machine
    User mental model
    The buzz on my finger, the sound, the lights, and the screen should feel like one unified physical consequence.
    System action
    One state transition simultaneously fires relay sleeve vibration, buzzer audio, LED strip shift, TM1637 display, and Web Serial log.
    Cognitive friction
    Exhibition play was observed across groups without per-channel telemetry logging, so exact channel contribution weights remain unmeasured.
    Edge & recovery
    Because every channel subscribes to one round state machine, subsystems can never contradict each other mid-game.
  5. Live Web Serial console & parity-tested Demo Mode

    Automated / synthetic gateSystems & HWAI Trust
    Trigger
    Operator connects Mega over USB Web Serial or portfolio reviewer opens browser Demo Mode
    User mental model
    Without the wooden board on my desk, the browser console should honestly demonstrate the exact firmware rules—not a fake movie.
    System action
    JS Canvas console mirrors live Mega serial frames when attached and runs deterministic trap/sync simulation offline, guarded by parity tests.
    Cognitive friction
    Live Web Serial mode requires a desktop Chromium browser with USB permission, limiting mobile reviewers to Demo Mode.
    Edge & recovery
    Automated regression suite checks serial sync, feedback sync, servo response, and audio parity on every change.

Before and after

Process scrubber · Isolated hardware vs unified state loop

Consolidate unbuffered IR sensors & solo triggers into one debounced co-touch loop

Compare early failure modes against MazeRunners' SafeTouchServoController, sleeve haptics, and Web Serial state chain.

Before · Unbuffered & Solo
BEFORE: ISOLATED HARDWARE LOOPS & RAW IR BOUNCESolo taps unlock axisNo physical mutual consentOriginal shock trapUnsafe without supervisionUnbuffered IR double-fireScore disagrees with hapticsFailure mode: When timing drifts across displays and fingers, players stop trusting the rules.
After · Synced Co-Touch State
MazeRunners unified Mega state machine syncing co-touch bracelets, IR debounce, finger-sleeve vibration, SafeTouchServoController, TM1637 display, and Web Serial console
Vector micro-loop · Co-touch to 5-channel hardware feedback

Wrist Co-Touch → Safe Servo → IR Debounce → 5-Channel Sync

Step through the physical closed loop aligning players' fingertips, the wooden board, and the Web Serial browser console.

01Wrist Co-Touch02Safe Servo03IR Debounce045-Way Output
01 · Wrist Co-Touch

Adjacent players must bridge matching color wristbands simultaneously before any axis tilts.

Exhibition observation · Bench & public play

Physical feedback insights observed during exhibition rounds

Design decision

Fired finger-sleeve vibration together with audio, LED strips and the score display from one round event.

Rejection & Rework Archive

Versions I threw away

Logged defects exposed during hardware bench checks, live debugging, and AI-draft reviews—plus the structural fixes that replaced them.

  1. Mid-Fi Decision

    2026-04
    Observed in useAI TrustUX & IA
    Artifact before
    Mild electric shock trap concept delivered on wall contact
    Failure exposed
    Complexity and safety could not both be met (decision record, 25 Apr 2026).
    Fix applied
    Replaced shock hardware entirely with relay-driven vibration motors inside wearable finger sleeves.

    Receipt: 02-bracelet-finger-sleeve.png + PlanB firmware haptic module

  2. Bench Calibration & Console Sync

    2026-05
    Bench / hardware verifiedSystems & HWAI Trust
    Artifact before
    Uncalibrated raw FC-51 IR polling mixed on one microcontroller with servo PWM
    Failure exposed
    One ball pass could fire more than once, putting score and buzz out of sync.
    Fix applied
    Gave each sensor a three-sample debounce and a 400 ms cooldown feeding one Mega round state machine, put tilt on its own Uno (SafeTouchServoController), and wrote serial/feedback/servo/audio parity tests.

    Receipt: 04-engineering-overview.png + firmware/web parity regression suite

Research VaultObserved in use

Raw research notes

Verification boundary: Observed across 9 exhibition groups (36 players, ~3 completions) on the physical wooden maze, plus bench verification of 10-zone FC-51 IR debounce and Web Serial parity. Handwritten leaderboard scores were not archived.

Exhibition 4-Player Shared-Wristband Facilitation & Observation Guide

9 drop-in exhibition groups (4 strangers or peers per round, 36 players total) standing around the wooden maze table in a public gallery space.

Planned opening prompt (not run)Put on the finger sleeve and take one wristband. Notice the color pairings—no single person can tilt an axis alone, so talk across the table to guide the ball home.

Task Probe 01

Unverified hypothesis
Prompt
Ask players to fit the wearable vibration finger sleeves before starting Round 1.
What we watch for
Physical dexterity hurdles, strap confusion, and whether sleeve fitting becomes a natural social icebreaker.
Failure signal
Loose finger sleeves sliding off mid-tilt, causing players to miss trap feedback entirely.

Task Probe 02

Unverified hypothesis
Prompt
Watch the first 20 seconds when one player taps a wristband without their color partner.
What we watch for
How quickly players infer the shared-axis rule from immediate lock feedback without reading printed instructions.
Failure signal
Players repeatedly slamming the single contact assuming the wiring is broken.

Task Probe 03

Unverified hypothesis
Prompt
Track where players look when the ball drops into an IR trap zone.
What we watch for
Whether players glance at the vertical scoring screen first or react immediately to wrist/finger vibration and board buzzer.
Failure signal
Scoreboard updates while physical feedback lags or misfires twice.

Planned debrief question: Did the shared wristband force you to coordinate differently with the person opposite you compared to normal party games?

The hardware in 3D

Interview pack

Questions interviewers ask

Why did the trap become vibration instead of an electric shock?

I would explain that a public exhibition means unsupervised players of unknown age and health, so per-person consent and calibration were impossible; relay-driven vibration in finger sleeves kept the sensation on the body without the risk.

Jump to Three decisions ↓I would admit vibration is the weaker sensation, and that I traded some memorability for being able to run the maze unattended.
How did you make one ball pass produce one game event?

I would walk through debounce plus a cooldown window on each of the ten IR sensors, and why raw reads double-firing stopped score, timer, and haptics from agreeing with each other.

Jump to The problem ↓The cooldown creates a blind window, so a genuinely fast second pass is missed — a deliberate trade, not an oversight.
Why build a browser console for a physical build?

I would show the Web Serial console mirroring the maze live, plus a demo mode that runs without hardware, with regression tests keeping the two honest about firmware rules.

Jump to Built and tested ↓Two modes can drift; the parity tests exist precisely because I could not trust them to stay aligned by hand.
What does this prove that a screen-only case study does not?

I would say it proves I can carry an idea across the whole stack — sensing, firmware state machines, physical feedback, and a browser control surface — and make calibration and safety calls on hardware strangers will actually touch.

Jump to Results, limits and next steps ↓It is one exhibition unit with hand-run wiring, so it proves build capability and system thinking, not manufacturability.
4-Lens Adversarial Red-Team DefenseObserved in use

How others have challenged this design

Core thesis: Shared wristbands mean no player can steer alone. A three-sample IR debounce and a 400 ms cooldown keep one ball pass to one penalty.

Interrogates business framing, visual hierarchy, and whether deliberate friction actually earns its keep.

Adversarial ChallengeHigh Scrutiny

During the exhibition, 9 groups played, many still struggled with the rules after the explanation, and only about 3 groups finished—did the onboarding design actually work?

Empirical Defense

Only partly. A team member explained the rules before each round and gearing up took about a minute per group, yet many players still struggled with the rules. Attention went to the maze, the score and time display, the LEDs and the sounds, and some players were surprised by the vibration the first time. Rule onboarding stays an open problem.

Code & Hardware Receipt

Exhibition observation logs across 9 groups (36 players, ~3 completions) archived in /projects/maze#research-vault.

Unresolved Hypothesis (Honest Gap)

Handwritten leaderboard metrics were never digitized, and embedding vibration directly into the wristband cuff itself remains an untested v2 improvement.

Jump to Raw research notes ↓
MazeRunners | Lewis Dong