Skip to main content

Water Sort

Water Sort is a planning and problem-solving task in the same family as the Tower of London and Tower of Hanoi. Participants sort colored blocks into tubes so each tube contains only one color. The task engages executive function, including planning, working memory, and inhibitory control.

ActivitySpec: lamp.water_sort

Cognitive domain: Planning, executive function, working memory, inhibitory control

Configurationโ€‹

SettingDescription
Difficulty"easy" (3 colors), "medium" (4 colors), "hard" (5 colors)
Max PuzzlesNumber of puzzles
Time LimitTime limit per puzzle (seconds)
API settings fields
Dashboard SettingAPI FieldTypeDefault
Difficultydifficultystring"medium"
Max Puzzlesmax_puzzlesnumber8
Time Limittime_limit_per_puzzle_snumber90

Sample Instructionsโ€‹

"Sort the colored blocks so each tube contains only one color. Tap a tube to pick up the top block, then tap another tube to place it. You can only place a block on a matching color or into an empty tube."

Usageโ€‹

Tubes have a capacity of 4 blocks each, plus 2 extra empty tubes for workspace. The number of colors varies by difficulty: 3 (easy), 4 (medium), 5 (hard). Only the top block in a tube can be moved. Blocks can only be placed on matching colors or into empty tubes. When pouring, all consecutive same-color blocks on top transfer together. Puzzles are generated by reverse-shuffling from a solved state, and the BFS minimum move count is computed for each.

Scoringโ€‹

Each puzzle is scored by whether it was solved and how many pours beyond the minimum were needed. Key metrics are puzzles solved in minimum pours and mean excess pours.

References
  1. Shallice, T. (1982). Specific impairments of planning. Philosophical Transactions of the Royal Society B, 298(1089), 199-209.

Dataโ€‹

static_dataโ€‹

FieldTypeDescription
scorenumberOverall score
correct_answersnumberPuzzles solved
total_questionsnumberTotal puzzles attempted
puzzles_attemptednumberPuzzles presented
puzzles_solvednumberPuzzles completed
puzzles_solved_in_minimumnumberPuzzles solved in optimal pour count
total_excess_poursnumberSum of extra pours beyond minimum
mean_excess_poursnumberAverage excess pours per puzzle
mean_planning_time_msnumberAverage time before first pour (ms)
mean_execution_time_msnumberAverage time from first pour to completion (ms)
puzzles_timed_outnumberPuzzles where time expired
difficultystringDifficulty level used
questionnaireobjectPost-game ratings: clarity (1-5), happiness (1-5)

temporal_slicesโ€‹

One entry per puzzle.

FieldTypeDescription
itemnumberPuzzle index
typestringOutcome: "solved", "timeout", or "exit"
puzzle_numbernumberPuzzle sequence number
num_colorsnumberNumber of colors in this puzzle
minimum_poursnumberBFS-computed optimal solution
actual_poursnumberParticipant's pour count
excess_poursnumberactual_pours - minimum_pours
solvedbooleanWhether the puzzle was solved
planning_time_msnumberTime before first pour (ms)
execution_time_msnumberTime from first pour to completion (ms)
durationnumberTotal time on this puzzle (ms)
pour_sequencestring[]Sequence of pours
levelnumberPuzzle difficulty

Cortex Featuresโ€‹

No Cortex features are currently available for this activity.

View in Portal | Python SDK | API Reference