Case study 01 · Senior year project · LUMS · 2025–26

Dus Pattay

"ten leaves", from a childhood rhyme

A 20-minute tablet game that screens children aged 8 to 12 for ADHD risk, and Khoj, the app that explains the result to their parents.

Team leadUnity · C#UX researchFigmaScreening, not diagnosis
Phase 1 · tilt to steer · Unity build v1logging touch + gyroscope
20 min

one sitting on a tablet

5 domains

attention, impulsivity, hyperactivity, working memory, organisation

11 clinicians

7 psychologists, 4 psychiatrists interviewed

0 words

to read in the game. It is text-free

2 products

the game, and Khoj for parents

01 / 17  The problem

In Pakistan, finding out if a child has ADHD is slow, costly, and built on tools made for other countries.

There is no national screening pipeline. Families pay per session, stigma keeps them away, and teachers' input is often unreliable. Most children are never identified between 8 and 12, when it matters most.

2–3 visits

privately, and 4 to 8 at an institution, before a child gets an answer.

~15% vs 3–5%

How many children qualify depends on the manual: DSM-5 flags about three times as many as ICD.

9 : 1

boys to girls referred. Girls who are inattentive, not disruptive, get missed.

Unvalidated

Rating scales are informally translated into Urdu and never tested on Pakistani children.

02 / 17  How the idea changed

The project was rejected twice before it became a game.

Each pivot, and why.

Jul 2025

Two candidate topics

ADHD in children, or gratitude journaling for loneliness. Each of us read one paper on both and argued it out.

ADHD CHOSEN
Aug 2025

Proposal 1: support for teens

A well-being intervention for 13 to 16 year olds with ADHD. Seven research questions drafted.

REJECTED AT THE FIRST GRADED MEETING
Sep 2025

Pivot to screening

You cannot support children nobody has identified. New question: can a low-cost tool flag risk in school?

ACCEPTED
Oct 2025

Plan A: questionnaires + observation + ML

Digitised Urdu SNAP-IV for parents and teachers, classroom observation, then a model. 26 schools listed.

TOO HEAVY ON SCHOOLS AND PARENTS. SHELVED
Jan 2026

One game, one age band

Ages 6 to 12 was too wide for one game. Brain-imaging studies and Dr Mariam Haider both pointed to 8 and up.

FINAL SCOPE: 8 TO 12
Research question

To what extent can a culturally adapted, gamified screening tool, using objective behavioural and performance data, identify children at risk of ADHD in a school setting in Lahore?

03 / 17  Literature review

19 papers, three families of screening tools, one usable in a Lahore classroom.

I wrote the whole review. It took three drafts.

FamilyExamplesVerdict for Pakistan
High-resource diagnostics
fMRI, mining electronic health records
Accurate, but needs hospitals and data Pakistan does not have
Lab biomarkers
EEG headsets, pupillometry, eye tracking
Objective, but needs special hardware and a technician
Digital and behavioural ML
Serious games, touch data, CPT-style tasks
Runs on a tablet. This is where we built.
CHIIDCASSETSMobileHCIBMJ OpenScientific Reports+ Pakistani prevalence and teacher-awareness studies
Three drafts
Draft 1TOO SHORT
Draft 2TOO LONG
Final copyACCEPTED

The gap it found: no objective, culturally adapted screening tool for Pakistani children, and no local data to build one from.

MARYAM
04 / 17  Field research

A four-week plan to reach everyone involved in a diagnosis. What we aimed for, and what we actually got.

24 October to 21 November 2025. Method borrowed from three HCI papers: professionals first, then families.

WhoPoolTargetReachedStatus
Psychologists
32 contacts
5 to 7
7
MET
Psychiatrists
16 contacts
5 to 7
4
CLOSE
Parents
via clinics and support groups
15
1
BLOCKED BY STIGMA
Children
via clinics
15
0, observed 2 cases instead
NO ACCESS
Schools
26 shortlisted
as many as agree
4 visited: LGS Phase 5, TNS Beaconhouse, Roots Ivy, DHA Junior
DONE
Hospitals and centres
IMC, Children's Hospital, Kazim Trust, Aadil
observe a real screening
Hospital observation denied. 2 days at a screening camp
PARTIAL
Interview guide

30 questions, 7 themes

Referral pathsStep-by-step processTools and scalesSchool inputCulture and stigmaBoys vs girlsOur tool
WHOLE TEAM
Observation

Permission letters, then a camp

Supervisor-signed letters went out on 10 November and 1 December. Two visits to a child development screening camp followed.

VISIT 1: KHADIJA + FATIMAVISIT 2: ALL THREE
Teachers

Grades 1 to 6, anonymised

Students referred to only as "Child A". Four themes: first signs, the teacher's role, training, and how clear the forms are.

WHOLE TEAM
The 11 clinicians

7 psychologists, 4 psychiatrists. Named with permission.

Dawood AslamDr Hafiz KashifDr Hira GorejaDr Hajra AsadDr Saman ChaudhryDr Ayesha AreejDr MahjabeenDr Fatima BukharieDr Arooj FatimaDr Awab SarwarDr Zahid Imran
05 / 17  What clinicians told us

Eleven interviews, read side by side.

Paraphrased from our notes, most taken in Urdu. Names show who raised each point.

ThemeWhat we heardFrom
How long it takes
2 to 3 sessions privately, 4 to 6 for a full assessment, longer in government hospitals
Areej, Bukharie, Chaudhry
Which manual
Psychologists use DSM-5. Psychiatrists lean on ICD-10. The two do not flag the same children
Areej, Chaudhry
Which scales
Conners parent and teacher forms. Better batteries exist but nobody in private practice can afford them
Areej
Language
English forms, or Urdu translated on the spot by the clinician. None validated locally
Chaudhry, Bukharie
Teachers
Their view matters most and is hardest to get. Untrained, short of time, and principals fear for the school's name
Chaudhry, Areej
When children arrive
Late. Often around 14, after years of being scolded instead of assessed
Chaudhry
Girls
About 9 boys for every girl. Girls are inattentive, not disruptive, and shyness gets read as personality
Areej, Chaudhry, Bukharie
Stigma
"Log kya kahenge." Mothers get blamed. Families hide symptoms and stop therapy early
Areej, Chaudhry
Forms alone
A form-based diagnosis does not work. Clinical observation carries the decision
Imran
On our tool
"Really needed." An objective report before session one would replace what is usually assessment two
Areej, Bukharie
Their warning
Do not walk into a school saying "ADHD". Call it a behaviour checklist, or the door closes
Chaudhry
06 / 17  From findings to decisions

Every rule in the game traces back to something a clinician told us.

Eight of the twelve functional requirements, each next to the finding that caused it.

Diagnosis needs 20 minutes of sustained attention to say anything useful.

→

One continuous 20-minute session, no breaks to hide behind.

About 40% of children with ADHD also struggle to read.

→

No text anywhere in the game. Pictures, sound and motion only.

Classrooms are noisy. Clinics are not.

→

Visual distractors, then audio distractors, like a real classroom.

Impulsive children act when nothing is asked of them.

→

A freeze stage. Any tap during it is logged.

Fun games cause hyperfocus and hide symptoms.

→

Game feel in the intro only. Assessment phases are deliberately plain.

"Baby" visuals put off 8 to 12 year olds.

→

Adventure and nature themes, a bear guide, human figures for older children.

Girls present differently and mask more.

→

Scoring planned with gender-specific norms.

Parents fear a label.

→

The output says "worth a closer look", never "has ADHD".

What we heardWhat the game does
07 / 17  What already exists

One tool is fun. One is rigorous. Neither is both, and neither is built for Pakistan.

We took apart 6 clinical tests and more than 20 ADHD apps.

ToolMeasuresLengthFeelOur takeaway
Conners CPT / TOVA
Sustained attention
14 to 20 min
Deliberately monotonous
Letters on screen. Reading bias
MOXO-CPT
Attention, timing, impulsivity, hyperactivity
18 min, 8 blocks
Neutral, picture targets
Took: target vs non-target, visual then audio distractors
EndeavorRx
Attention control, multitasking
25 min a day
Vibrant worlds, FDA-cleared
Took: tilt steering, steer + tap together
Aula Nesplora
Attention in a virtual classroom
18 to 22 min
VR headset
Needs hardware schools do not own
QbTest / QbCheck
Attention + movement by camera
15 to 20 min
Clinic or webcam
Camera. Also where the hyperfocus warning came from
Attention Slackline
Impulsivity, inattention
Short sessions
Snowy valley story
Proof a story game can be a valid screener for ages 6 to 11
AppsWhat worksWhat we used
Tiimo, Brili
Visual schedules, icons instead of words
Icons over text everywhere
Forest, Flora
A tree grows while you stay focused
A visible cost of losing focus
Finch, Joon
A pet thrives when tasks get done
Characters hold interest. No punishment for a miss
Goblin Tools
Breaks a big task into small steps
One instruction at a time
Mightier
Game gets harder as heart rate rises
Considered heart rate. Dropped: needs a wearable
MentalUP, Fit Brains, Tupsu
Short cognitive mini-games
Short blocks beat one long task
Brain.fm
Sound tuned for focus
Sound can help or distract. Use it as a test condition

KHADIJA  helped compile the app survey. FATIMA  summarised screening pathways in the US, UK, Europe and Pakistan.

EndeavorRx

Engagement

A steering game children want to play. Built as treatment, not screening, and too playful to measure cleanly.

We took: tilt steering, missions

Dus Pattay

Play to get in. Rigour once you are in.

A game shell around a continuous performance test. Touch and gyroscope only, so it runs on any tablet a school already owns.

No EEGNo cameraNo reading
MOXO-CPT

Rigour

A clinical attention test with visual and audio distractors. Accurate, but dry, licensed and in English.

We took: targets, distractors, timing

QbTest research warned us about hyperfocus: make the test too rewarding and children with ADHD perform normally. That is why the assessment phases have no points, streaks or rewards.

08 / 17  Who exactly is it for

"Ages 6 to 12" turned out to be three different children.

Brain-imaging research and our clinicians agreed: screening starts to mean something at 8.

AgeIn the brainIn the classroomDesign responseDecision
6 to 7
Prefrontal cortex immature. No measurable blood-flow difference from peers yet
Loses track after 2 steps. "Just hyper" is normal
Bright, simple, constant rewards
TOO EARLY TO SCREEN
8 to 9
Lower blood flow in motor and executive regions
Fidgeting shows in structured settings. Packs own school bag
Speed tasks, audio distractors, two instructions at a time
PRIMARY BUILD
10 to 12
Lower blood flow in visual and spatial regions
Intelligence outruns self-control. Aware of own errors
More complex, "cooler" themes, customisation
NEXT VARIANT
Girls

Same game, different pattern to look for

Diagnostic criteria were built mostly from boys. Girls show fewer impulsive errors but more missed targets and less steady reaction times. A girl who looks "average" on impulsivity can still be at risk.

KHADIJA: GENDER RESEARCH SUMMARY
Severity

Aimed at moderate cases

Severe ADHD is visible without a tool. Mild cases barely impair. The children who get missed sit in between.

09 / 17  Evidence check

Every feature had to cite a paper, or go.

"Only pick up stuff from scientific journals." Dr Mariam Haider, in feedback round two.

FeatureWhy it was on the tableOutcome
Icons and voice, no text
Up to 40% of children with ADHD also have reading difficulty
KEPT
Freeze stage
At-risk children tap sharply more during waiting periods
KEPT
Go / no-go targets
Missed targets flag inattention. Wrong taps flag impulsivity
KEPT
Audio distractors and tones
Classrooms are mostly listening. Dr Mariam Haider asked for an auditory format
ADDED
Large rounded targets
Touch path and jitter predicted risk with 91% accuracy in one study
KEPT
Blue-yellow colour test
A retinal dopamine hypothesis we found online
DROPPED: NOT SOLID SCIENCE
Drag stimuli into the cart
Would measure motor skill, not attention
DROPPED: NOW A TAP
Camera, microphone, heart rate
Eye tracking, voice and pulse were all brainstormed
DROPPED: PRIVACY, HARDWARE
Gems and rewards during tests
Rewards trigger hyperfocus and mask symptoms
MOVED OUT OF ASSESSMENT
MetricWhat is loggedWhat it points to
Omission errors
Missed targets
Lapses in sustained attention
Commission errors
Taps on non-targets
Impulsivity, weak inhibition
Reaction time variability
Spread of response times
Unstable focus. The strongest single ADHD marker
Accuracy slope
Performance from first minute to last
Attention decay, not just boredom
Off-task taps
Taps during instructions and freezes
Hyperactivity, delay aversion
Touch jitter
Distance of touch from the target
Timing and motor instability
Tablet shake
Gyroscope movement while waiting
Fidgeting
10 / 17  The game

Twenty minutes, four phases on the tablet, one at home.

Each phase isolates one thing a clinician looks for. Pick a phase.

1 minInspired by EndeavorRx

Sustained attention

The child tilts the tablet to steer a bear along a bridge and through rings. It gets faster as it goes.

What it logs
Rings collected and missed
Steadiness of tilt (gyroscope)
Drift as the speed rises
Taps when no tap is needed
11 / 17  Prototype evolution

Paper first, then Unity, then Unity again.

Two lo-fi rounds, then hi-fi built straight in Unity. I made each one.

MARYAM
01 Instruction video
02 Animals to dodge
03 "Collect gems, drag to cart"
04 Gem, stone, wolves
05 Gems landing in the cart
06 Good job

6 February 2026. Pencil on card, with paper cut-outs I could slide around: a cart, a progress bar, gems to collect, a stone and animals to avoid. Six of eleven frames. This is what the clinicians reacted to first.

01 Setup and themes
02 Phase 1
03 Phase 2: targets, distractors
04 Phase 3: steer + tap
05 Phase 5 and "Well done"

Also 6 February 2026. The whole flow drawn on a tablet: wireframes on the right, notes in red ("animated, cannot skip"), and the first colour mock-ups on the left, a boy in a cart on a village road. Phase 2 Part B still has the blue-yellow test that was later dropped.

BeforeAfterWhy
Animal obstacles
Monsters, dinosaurs, human figures
"This is totally preschool"
Real name on the welcome screen
Username
Privacy, and it feels like a game
Drag targets into the cart
Tap
Dragging tests motor skill
Blue-yellow phase
Removed
No scientific backing
Constant speed
Speed ramps up
Both clinicians asked for it
Skippable instructions
Not skippable. Taps are logged
Impatience is data
Game ends, child keeps tablet
A 6-digit code hands it back to the teacher
So the next child can play
Sorting task for "organisation"
Phase 5: a week-long homework tracker
Sorting is cognitive, not organisational
Dr Ayesha Areej

Keep it vibrant. More contrast. Racing tracks or a haunted forest. Ask the 10 to 12 year olds what they want to customise.

Dr Mariam Haider

Moderate vibrance. Human figures from 8 up. Add an auditory format. Watch for false positives: a child whose mother packs his bag is not disorganised.

01 Title screen
02 Set a username
03 How to play
04 Phase 1
05 Target vs non-target
06 Phase 2
07 Audio round
08 Phase 3

April to May 2026. Jungle onboarding, a bear guide, a bridge in the sky. The assessment screens go dark and plain on purpose.

UNDER CONSTRUCTION

The new interface goes here.

Same phases, same data. New art direction from the second round of clinician feedback.

  • Human characters for ages 8 and up, instead of only the bear
  • Speed that ramps up gradually inside each phase
  • A username in place of the child's real name
  • Themes the child actually chooses between
12 / 17  Under the hood

The game is also a measuring instrument. Every touch becomes a row.

Unity architecture · single scene
GlobalTapSensor
every touch, anywhere
Gyroscope
tilt, 0 extra hardware
→
GameManager
state machine + coroutines run the phases
UIManager
swaps panels, no scene loads
→
DataLogger
StringBuilder buffer
2 CSV files
persistentDataPath

Buffered writes keep the frame rate steady, so reaction times stay honest. Nothing but touch and tilt is collected. No camera, no microphone, no name.

DataLogger output · sample rows
# events.csv · one row per touch
timestamp_ms,current_phase,event_type,reaction_time_ms,is_correct,touch_x,touch_y
84210,2,target_tap,412,1,0.48,0.51
85930,2,non_target_tap,298,0,0.52,0.47
91004,2,freeze_tap,,0,0.11,0.83

# summary.csv · Phase 4
accuracy_score,precision_score,completion_percentage
13 / 17  Khoj, the parent app

A score means nothing to a worried parent. Khoj explains the process, the criteria and the result.

Khoj means "search". It began as a supervisor's weekend brief: "the game is part of a larger app". I designed and built every version.

Step 1 · content first: how ADHD is diagnosed in Pakistan, mapped from our interviewsFLOWCHART: FATIMA
Consultation
Parent or teacher is worried
History-taking
Pregnancy, development, family, school, home, complaints
Clinical interview
Child observed. Parent, child and teacher questions
Baseline chart
One week of notes at home and outside
2+ settings?
If not: look at environment
Formal assessment
Conners scales, parent and teacher
Meets DSM-5?
If not: other diagnoses
Outcome
Plan by severity: therapy first, medication last
V1

Initial version · Figma · March to April 2026

MARYAM
Home
History-taking
Symptom cards
DSM criteria
Phase page
My kids + code

What it held: the 7-step process, DSM-5 with illustrations, Conners samples, the game flow, child profiles and the connect code.

REVIEW, 10 APR: "TOO CLUTTERED"
V2

Rebuilt in code · May 2026 onward

MARYAM
Home
Diagnosis in 7 steps
Children + game code
The report
What changed

One idea per screen. New palette (seashell and soft moss were tried, plum stayed), new type, and the 7 steps drawn as a path.

73 screens, English and Urdu"Ask Khoj" voice guide and Listen on every pagePhone and laptop layouts6-digit code links a child to the game
Open the live prototype ↗
Laptop · two panes, the menu stays put
14 / 17  What comes out

Two reports from one session, and one sheet of paper.

Parents and clinicians need different things from the same data.

For parents · in Khoj

"Clinical consultation recommended"

Sustained attentionWORTH A CLOSER LOOK
ImpulsivityAS EXPECTED FOR AGE
HyperactivityAS EXPECTED FOR AGE
Working memoryWORTH A CLOSER LOOK
OrganisationAS EXPECTED FOR AGE

Strengths first, about four positives to each concern. The words "ADHD" and "seek help" never appear.

For clinicians · report design

Child against age baseline

Sustained attention
Impulse control
Working memory
Motor calmness
Processing speed

Likelihood score, domain radar, omissions, commissions, hyperactivity taps, reaction time, and a drawing summary. Green tick is the age average. Sample values.

Phase 5 · weekly mission tracker

Organisation, on paper

DayTaskOn timeForgot
Mon________☐☐
Tue________☐☐
Wed________☐☐
Thu________☐☐
Fri________☐☐

The child logs homework. The parent ticks what was forgotten. Three counts go back to the clinician with the game data.

The model · planned

From rows to a risk flag

Random ForestSMOTE for class balanceSHAP to explain each flag100 to 150 children neededAbove a threshold: flag. In between: monitorGender-specific norms
15 / 17  Honest limits

What this is not, yet.

Not validated yet

The pipeline logs clean data. It has not been tested against clinical diagnoses.

No model yet

Training needs 100 to 150 children, with ethics approval and clinic partners.

Phase 5 is open

How to score a week-long paper worksheet is still being worked out.

One city

All research was in Lahore, mostly private schools and clinics.

16 / 17  Timeline

Sixteen months, with dates.

Jul 2025

Topic chosen. First papers read.

23 Sep

First minuted meeting with Dr Suleman Shahid.

9 Oct

Four schools visited. First research plan rejected the next day.

24 Oct to 21 Nov

Clinician interviews.

10 Nov, 1 Dec

Observation letters. Screening camp visits.

23 Jan to 8 Feb 2026

Design sprint: who, what, features, wireframes, style.

6 to 20 Feb

Two lo-fi prototypes: paper cut-outs and a full annotated flow.

6 Mar

Flowcharts and both expert feedback rounds filed.

10 Apr

Review: Khoj too cluttered, game needs more game.

May

Unity v1 done. Report and demo videos submitted.

Now

Khoj rebuilt in code. Game UI v2 in progress.

17 / 17  My role

What I did.

Team lead on a three-person senior year project.

Research
  • +The entire literature review, three drafts
  • +Design plan: who, what, features, age bands
  • +Clinician interviews and the second observation visit
The game
  • +Both lo-fi prototypes: paper and annotated flow
  • +The whole Unity build: state machine, phases, data logger
  • +The new interface, in progress
Khoj
  • +Content map from the diagnostic process
  • +Version 1 in Figma
  • +Version 2, rebuilt in code, English and Urdu

Senior year project at LUMS with Khadija Imran and Fatima Mohsin Khan, supervised by Dr Suleman Shahid. With thanks to Dr Ayesha Areej, Dr Mariam Haider and the Healing Autism Resource Centre.