Skip to main content

Nonogram

Nonograms are logic puzzles that require constraint satisfaction and deductive reasoning. Participants fill in a grid using number clues that indicate how many consecutive cells are filled in each row and column. The task engages logical deduction, working memory, spatial reasoning, and planning.

ActivitySpec: lamp.nonogram

Cognitive domain: Logic, deductive reasoning, working memory, spatial reasoning

Configurationโ€‹

SettingDescription
Difficulty"easy" (5x5), "medium" (7x7), "hard" (10x10)
Max PuzzlesNumber of puzzles
Time LimitTime limit per puzzle (seconds)
API settings fields
Dashboard SettingAPI FieldTypeDefault
Difficultydifficultystring"medium"
Max Puzzlesmax_puzzlesnumber6
Time Limittime_limit_per_puzzle_snumber120

Sample Instructionsโ€‹

"Fill in the grid using the number clues. Each number tells you how many consecutive cells are filled in that row or column. Tap a cell to fill it. Use the Mark button to flag cells you know are empty."

Usageโ€‹

Grid sizes vary by difficulty: 5x5 (easy), 7x7 (medium), 10x10 (hard). Clues indicate consecutive filled-cell runs for each row and column. All puzzles are verified solvable by line logic alone (no guessing required). Incorrect fills flash red as immediate feedback. Correctly filled cells are permanent. A mark mode is available for flagging cells known to be empty.

Scoringโ€‹

Puzzles are scored by completion and error count. A puzzle solved with zero errors is "solved perfectly."

References
  1. Ueda, N. & Nagao, T. (1996). NP-completeness results for NONOGRAM via parsimonious reductions. Technical report, Tokyo Institute of Technology.

Dataโ€‹

static_dataโ€‹

FieldTypeDescription
scorenumberOverall score
correct_answersnumberPuzzles solved
total_questionsnumberTotal puzzles attempted
puzzles_attemptednumberPuzzles presented
puzzles_solvednumberPuzzles completed
puzzles_solved_perfectlynumberPuzzles solved with zero errors
total_errorsnumberTotal incorrect cell fills
mean_errorsnumberAverage errors per puzzle
mean_planning_time_msnumberAverage time before first cell fill (ms)
mean_execution_time_msnumberAverage time from first fill 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
grid_sizenumberGrid dimension (5, 7, or 10)
total_fillednumberTotal cells that should be filled
cells_fillednumberCells participant filled
cells_markednumberCells participant marked as empty
errorsnumberIncorrect fills
accuracynumberProportion correct
solvedbooleanWhether the puzzle was completed
planning_time_msnumberTime before first fill (ms)
execution_time_msnumberTime from first fill to completion (ms)
durationnumberTotal time on this puzzle (ms)
levelnumberPuzzle difficulty

Cortex Featuresโ€‹

No Cortex features are currently available for this activity.

View in Portal | Python SDK | API Reference