0718e3f252
- Start the app on a shelf of every installed book instead of the last book's home. Cards show the cover, translated metadata, available languages, restored patterns and either "Continue reading" or a way in. - Keep each book's saved route: the shelf is never written to flutter_screen, so choosing a book resumes its own leaf. - Lay the shelf out responsively: dense single-column cards on phones, a two-column grid from 720 logical pixels, a centred 860 px column on tablets and a chevron that exists in the bundled handwriting font. - Keep Settings reachable from the shelf and let the home page's story library button open the shelf instead of a dialog. - Add tool/shelf_screenshots_test.dart, which renders the shelf at phone and tablet metrics, checks that every card and Settings stay reachable without overflow, and writes artifacts/library/shelf-*.png. - Commit the pending Midnight Invitation package (campaign, notebook, narration and artwork), cast drama and ambience tooling, region selection, phone/tablet integration coverage and related docs. flutter analyze is clean and all 74 widget/domain tests pass.
4926 lines
124 KiB
JSON
4926 lines
124 KiB
JSON
[
|
|
{
|
|
"id": "pumpkin",
|
|
"givens": "11,23,25,35,41",
|
|
"areas": "",
|
|
"report": {
|
|
"status": "solved",
|
|
"message": "Solved by visible deductions; no hypothetical lookahead needed.",
|
|
"solutionCountCappedAtTwo": 1,
|
|
"cellCount": 49,
|
|
"givens": 5,
|
|
"resolvedCells": 44,
|
|
"initialDirectMoves": 21,
|
|
"deductionRounds": 4,
|
|
"comparisonSteps": 0,
|
|
"assumptionSteps": 0,
|
|
"maxAssumptionDepthUsed": 0,
|
|
"lookaheadDepth": 0,
|
|
"lookaheadLimit": 0,
|
|
"maxCellsCompared": 7,
|
|
"narrowestRound": 2,
|
|
"searchNodes": 0,
|
|
"remainingCells": [],
|
|
"rounds": [
|
|
{
|
|
"newCells": 21,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 3"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 2,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 9,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 16,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 30,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 37,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 44,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Column 3 needs 6 more lights in 6 unmarked cells.",
|
|
"cellsCompared": 6,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 4"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 21,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 22,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 24,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 26,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 27,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Row 4 needs 5 more lights in 5 unmarked cells.",
|
|
"cellsCompared": 5,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 5"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 28,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 29,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 31,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 33,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 34,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Row 5 needs 7 more lights in 7 unmarked cells.",
|
|
"cellsCompared": 7,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 5"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 32,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 4,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 18,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 39,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 46,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Column 5 needs 5 more lights in 5 unmarked cells.",
|
|
"cellsCompared": 5,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 14,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 1"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 0,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 7,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 14,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 42,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Column 1 needs 0 more lights in 4 unmarked cells.",
|
|
"cellsCompared": 4,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 1"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 1,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 3,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 5,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Row 1 needs 0 more lights in 5 unmarked cells.",
|
|
"cellsCompared": 5,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 7"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 6,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 13,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 20,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 48,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Column 7 needs 0 more lights in 4 unmarked cells.",
|
|
"cellsCompared": 4,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 6"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 36,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 38,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 40,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Row 6 needs 0 more lights in 3 unmarked cells.",
|
|
"cellsCompared": 3,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 7,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 3"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 15,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 17,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 19,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Row 3 needs 3 more lights in 3 unmarked cells.",
|
|
"cellsCompared": 3,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 4"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 10,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 45,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Column 4 needs 3 more lights in 3 unmarked cells.",
|
|
"cellsCompared": 3,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 7"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 43,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 47,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Row 7 needs 3 more lights in 3 unmarked cells.",
|
|
"cellsCompared": 3,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 2,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 2"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 8,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Column 2 needs 0 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 6"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 12,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Column 6 needs 0 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "feather",
|
|
"givens": "5,11,12,17,18,19,22,42",
|
|
"areas": "",
|
|
"report": {
|
|
"status": "solved",
|
|
"message": "Solved by visible deductions; no hypothetical lookahead needed.",
|
|
"solutionCountCappedAtTwo": 1,
|
|
"cellCount": 49,
|
|
"givens": 8,
|
|
"resolvedCells": 41,
|
|
"initialDirectMoves": 30,
|
|
"deductionRounds": 4,
|
|
"comparisonSteps": 0,
|
|
"assumptionSteps": 0,
|
|
"maxAssumptionDepthUsed": 0,
|
|
"lookaheadDepth": 0,
|
|
"lookaheadLimit": 0,
|
|
"maxCellsCompared": 7,
|
|
"narrowestRound": 1,
|
|
"searchNodes": 0,
|
|
"remainingCells": [],
|
|
"rounds": [
|
|
{
|
|
"newCells": 30,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 1"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 0,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 1,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 2,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 3,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 4,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 6,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Row 1 needs 0 more lights in 6 unmarked cells.",
|
|
"cellsCompared": 6,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 2"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 7,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 8,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 9,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 10,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 13,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Row 2 needs 0 more lights in 5 unmarked cells.",
|
|
"cellsCompared": 5,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 3"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 14,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 15,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 16,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 20,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Row 3 needs 0 more lights in 4 unmarked cells.",
|
|
"cellsCompared": 4,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 1"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 21,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 28,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 35,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Column 1 needs 0 more lights in 6 unmarked cells.",
|
|
"cellsCompared": 6,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 6"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 26,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 33,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 40,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 47,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Column 6 needs 0 more lights in 4 unmarked cells.",
|
|
"cellsCompared": 4,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 7"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 43,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 44,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 45,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 46,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 48,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Row 7 needs 0 more lights in 6 unmarked cells.",
|
|
"cellsCompared": 6,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 7"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 27,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 34,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 41,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Column 7 needs 0 more lights in 7 unmarked cells.",
|
|
"cellsCompared": 7,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 7,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 2"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 29,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 36,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Column 2 needs 2 more lights in 2 unmarked cells.",
|
|
"cellsCompared": 2,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 3"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 23,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 30,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 37,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Column 3 needs 3 more lights in 3 unmarked cells.",
|
|
"cellsCompared": 3,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 4"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 24,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 25,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Row 4 needs 3 more lights in 3 unmarked cells.",
|
|
"cellsCompared": 3,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 3,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 5"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 32,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 39,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Column 5 needs 0 more lights in 2 unmarked cells.",
|
|
"cellsCompared": 2,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 6"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 38,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Row 6 needs 0 more lights in 2 unmarked cells.",
|
|
"cellsCompared": 2,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 1,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 4"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 31,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Column 4 needs 1 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "key",
|
|
"givens": "22",
|
|
"areas": "4,2,3,4;3,3,4,3",
|
|
"report": {
|
|
"status": "solved",
|
|
"message": "Solved by visible deductions; no hypothetical lookahead needed.",
|
|
"solutionCountCappedAtTwo": 1,
|
|
"cellCount": 49,
|
|
"givens": 1,
|
|
"resolvedCells": 48,
|
|
"initialDirectMoves": 21,
|
|
"deductionRounds": 5,
|
|
"comparisonSteps": 2,
|
|
"assumptionSteps": 0,
|
|
"maxAssumptionDepthUsed": 0,
|
|
"lookaheadDepth": 0,
|
|
"lookaheadLimit": 0,
|
|
"maxCellsCompared": 11,
|
|
"narrowestRound": 1,
|
|
"searchNodes": 0,
|
|
"remainingCells": [],
|
|
"rounds": [
|
|
{
|
|
"newCells": 21,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 1"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 0,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 7,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 14,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 21,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 28,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 35,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 42,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Column 1 needs 0 more lights in 7 unmarked cells.",
|
|
"cellsCompared": 7,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 6"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 5,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 12,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 19,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 26,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 33,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 40,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 47,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Column 6 needs 0 more lights in 7 unmarked cells.",
|
|
"cellsCompared": 7,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 7"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 6,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 13,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 20,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 27,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 34,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 41,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 48,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Column 7 needs 0 more lights in 7 unmarked cells.",
|
|
"cellsCompared": 7,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 10,
|
|
"steps": [
|
|
{
|
|
"rule": "comparison",
|
|
"clues": [
|
|
"Row 6",
|
|
"Area A"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 36,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 30,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 31,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 32,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 44,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 45,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 46,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Cancel shared unmarked cells in Row 6 (1 lights left) and Area A (7 left). Difference: -6.",
|
|
"cellsCompared": 10,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "comparison",
|
|
"clues": [
|
|
"Area A",
|
|
"Area B"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 37,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 24,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 25,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Cancel shared unmarked cells in Area A (7 lights left) and Area B (4 left). Difference: 3.",
|
|
"cellsCompared": 11,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 8,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 4"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 23,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Row 4 needs 1 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 5"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 29,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Row 5 needs 0 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 5"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 4,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 11,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 18,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Column 5 needs 0 more lights in 4 unmarked cells.",
|
|
"cellsCompared": 4,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 6"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 39,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 38,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Row 6 needs 0 more lights in 2 unmarked cells.",
|
|
"cellsCompared": 2,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 7"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 43,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Row 7 needs 0 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 8,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 1"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 1,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 2,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 3,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Row 1 needs 3 more lights in 3 unmarked cells.",
|
|
"cellsCompared": 3,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 2"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 8,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 15,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Column 2 needs 3 more lights in 3 unmarked cells.",
|
|
"cellsCompared": 3,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 3"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 16,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 17,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Row 3 needs 3 more lights in 3 unmarked cells.",
|
|
"cellsCompared": 3,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 4"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 10,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Column 4 needs 3 more lights in 3 unmarked cells.",
|
|
"cellsCompared": 3,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 1,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 2"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 9,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Row 2 needs 0 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "mask",
|
|
"givens": "26,45",
|
|
"areas": "0,1,4,4;3,2,4,4",
|
|
"report": {
|
|
"status": "solved",
|
|
"message": "Solved by visible deductions; no hypothetical lookahead needed.",
|
|
"solutionCountCappedAtTwo": 1,
|
|
"cellCount": 49,
|
|
"givens": 2,
|
|
"resolvedCells": 47,
|
|
"initialDirectMoves": 14,
|
|
"deductionRounds": 6,
|
|
"comparisonSteps": 3,
|
|
"assumptionSteps": 0,
|
|
"maxAssumptionDepthUsed": 0,
|
|
"lookaheadDepth": 0,
|
|
"lookaheadLimit": 0,
|
|
"maxCellsCompared": 13,
|
|
"narrowestRound": 2,
|
|
"searchNodes": 0,
|
|
"remainingCells": [],
|
|
"rounds": [
|
|
{
|
|
"newCells": 14,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 3"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 14,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 15,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 16,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 17,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 18,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 19,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 20,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Row 3 needs 7 more lights in 7 unmarked cells.",
|
|
"cellsCompared": 7,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 5"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 28,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 29,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 30,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 31,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 32,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 33,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 34,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Row 5 needs 7 more lights in 7 unmarked cells.",
|
|
"cellsCompared": 7,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 10,
|
|
"steps": [
|
|
{
|
|
"rule": "comparison",
|
|
"clues": [
|
|
"Row 7",
|
|
"Area B"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 42,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 43,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 48,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 23,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 24,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 25,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 37,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 38,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 39,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 40,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Cancel shared unmarked cells in Row 7 (2 lights left) and Area B (9 left). Difference: -7.",
|
|
"cellsCompared": 13,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 2,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 4"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 3,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 10,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Column 4 needs 0 more lights in 2 unmarked cells.",
|
|
"cellsCompared": 2,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 6,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 2"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 7,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 8,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 9,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 11,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 12,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 13,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Row 2 needs 6 more lights in 6 unmarked cells.",
|
|
"cellsCompared": 6,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 7,
|
|
"steps": [
|
|
{
|
|
"rule": "comparison",
|
|
"clues": [
|
|
"Row 1",
|
|
"Area A"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 0,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 5,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 6,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 22,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Cancel shared unmarked cells in Row 1 (4 lights left) and Area A (1 left). Difference: 3.",
|
|
"cellsCompared": 7,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "comparison",
|
|
"clues": [
|
|
"Column 2",
|
|
"Area A"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 36,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 2,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 4,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Cancel shared unmarked cells in Column 2 (2 lights left) and Area A (1 left). Difference: 1.",
|
|
"cellsCompared": 5,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 8,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 1"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 1,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Row 1 needs 1 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 3"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 44,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Column 3 needs 1 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 4"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 21,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 27,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Row 4 needs 2 more lights in 2 unmarked cells.",
|
|
"cellsCompared": 2,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 5"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 46,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Column 5 needs 1 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 6"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 35,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 41,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Row 6 needs 0 more lights in 2 unmarked cells.",
|
|
"cellsCompared": 2,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 6"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 47,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Column 6 needs 0 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "candle",
|
|
"givens": "40",
|
|
"areas": "1,3,4,4;0,4,4,3;0,3,4,3",
|
|
"report": {
|
|
"status": "solved",
|
|
"message": "Solved by visible deductions; no hypothetical lookahead needed.",
|
|
"solutionCountCappedAtTwo": 1,
|
|
"cellCount": 49,
|
|
"givens": 1,
|
|
"resolvedCells": 48,
|
|
"initialDirectMoves": 13,
|
|
"deductionRounds": 6,
|
|
"comparisonSteps": 3,
|
|
"assumptionSteps": 0,
|
|
"maxAssumptionDepthUsed": 0,
|
|
"lookaheadDepth": 0,
|
|
"lookaheadLimit": 0,
|
|
"maxCellsCompared": 14,
|
|
"narrowestRound": 3,
|
|
"searchNodes": 0,
|
|
"remainingCells": [],
|
|
"rounds": [
|
|
{
|
|
"newCells": 13,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 1"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 0,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 7,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 14,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 21,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 28,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 35,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 42,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Column 1 needs 0 more lights in 7 unmarked cells.",
|
|
"cellsCompared": 7,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 6"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 5,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 12,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 19,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 26,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 33,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 47,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Column 6 needs 0 more lights in 6 unmarked cells.",
|
|
"cellsCompared": 6,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 5,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 7"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 43,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 44,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 45,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 46,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 48,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Row 7 needs 5 more lights in 5 unmarked cells.",
|
|
"cellsCompared": 5,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 13,
|
|
"steps": [
|
|
{
|
|
"rule": "comparison",
|
|
"clues": [
|
|
"Column 5",
|
|
"Area B"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 32,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 39,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 6,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 13,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 20,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 27,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Cancel shared unmarked cells in Column 5 (4 lights left) and Area B (2 left). Difference: 2.",
|
|
"cellsCompared": 10,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "comparison",
|
|
"clues": [
|
|
"Area B",
|
|
"Area C"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 10,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 17,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 24,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 3,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Cancel shared unmarked cells in Area B (2 lights left) and Area C (6 left). Difference: -4.",
|
|
"cellsCompared": 12,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "comparison",
|
|
"clues": [
|
|
"Area A",
|
|
"Area B"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 31,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 34,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 4,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Cancel shared unmarked cells in Area A (8 lights left) and Area B (2 left). Difference: 6.",
|
|
"cellsCompared": 14,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 7,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 1"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 1,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 2,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Row 1 needs 0 more lights in 2 unmarked cells.",
|
|
"cellsCompared": 2,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 3"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 15,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 16,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 18,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Row 3 needs 0 more lights in 3 unmarked cells.",
|
|
"cellsCompared": 3,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 4"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 38,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Column 4 needs 0 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 7"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 41,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Column 7 needs 1 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 7,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 3"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 9,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 23,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 30,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Column 3 needs 4 more lights in 4 unmarked cells.",
|
|
"cellsCompared": 4,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 6"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 37,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 36,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Row 6 needs 2 more lights in 2 unmarked cells.",
|
|
"cellsCompared": 2,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 5"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 11,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 25,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Column 5 needs 2 more lights in 2 unmarked cells.",
|
|
"cellsCompared": 2,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 3,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 2"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 8,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Row 2 needs 0 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 4"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 22,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Row 4 needs 0 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 5"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 29,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Row 5 needs 0 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "moth",
|
|
"givens": "21",
|
|
"areas": "0,2,3,4;1,4,3,3;1,3,3,3",
|
|
"report": {
|
|
"status": "solved",
|
|
"message": "Solved by visible deductions; no hypothetical lookahead needed.",
|
|
"solutionCountCappedAtTwo": 1,
|
|
"cellCount": 49,
|
|
"givens": 1,
|
|
"resolvedCells": 48,
|
|
"initialDirectMoves": 18,
|
|
"deductionRounds": 6,
|
|
"comparisonSteps": 3,
|
|
"assumptionSteps": 0,
|
|
"maxAssumptionDepthUsed": 0,
|
|
"lookaheadDepth": 0,
|
|
"lookaheadLimit": 0,
|
|
"maxCellsCompared": 11,
|
|
"narrowestRound": 2,
|
|
"searchNodes": 0,
|
|
"remainingCells": [],
|
|
"rounds": [
|
|
{
|
|
"newCells": 18,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 1"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 0,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 7,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 14,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 28,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 35,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 42,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Column 1 needs 6 more lights in 6 unmarked cells.",
|
|
"cellsCompared": 6,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 3"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 15,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 16,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 17,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 18,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 19,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 20,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Row 3 needs 7 more lights in 7 unmarked cells.",
|
|
"cellsCompared": 7,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 5"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 29,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 30,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 31,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 32,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 33,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 34,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Row 5 needs 7 more lights in 7 unmarked cells.",
|
|
"cellsCompared": 7,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 14,
|
|
"steps": [
|
|
{
|
|
"rule": "comparison",
|
|
"clues": [
|
|
"Row 2",
|
|
"Area A"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 8,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 13,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 2,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 3,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 5,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Cancel shared unmarked cells in Row 2 (4 lights left) and Area A (2 left). Difference: 2.",
|
|
"cellsCompared": 10,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "comparison",
|
|
"clues": [
|
|
"Column 5",
|
|
"Area C"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 4,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 39,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 46,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 10,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 12,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 24,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 26,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Cancel shared unmarked cells in Column 5 (1 lights left) and Area C (5 left). Difference: -4.",
|
|
"cellsCompared": 9,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "comparison",
|
|
"clues": [
|
|
"Area A",
|
|
"Area C"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 9,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 25,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Cancel shared unmarked cells in Area A (2 lights left) and Area C (5 left). Difference: -3.",
|
|
"cellsCompared": 11,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 2,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 2"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 11,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Row 2 needs 0 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Area B"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 27,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Area B needs 0 more lights in 2 unmarked cells.",
|
|
"cellsCompared": 2,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 5,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 4"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 22,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 23,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Row 4 needs 2 more lights in 2 unmarked cells.",
|
|
"cellsCompared": 2,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 7"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 6,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 41,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 48,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Column 7 needs 3 more lights in 3 unmarked cells.",
|
|
"cellsCompared": 3,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 6,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 1"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 1,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Row 1 needs 0 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 3"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 37,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 44,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Column 3 needs 0 more lights in 2 unmarked cells.",
|
|
"cellsCompared": 2,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 7"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 43,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 45,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 47,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Row 7 needs 0 more lights in 4 unmarked cells.",
|
|
"cellsCompared": 4,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 3,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 2"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 36,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Column 2 needs 1 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 4"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 38,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Column 4 needs 1 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 6"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 40,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Column 6 needs 1 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "bell",
|
|
"givens": "",
|
|
"areas": "2,0,4,4;1,0,3,3;2,0,4,3",
|
|
"report": {
|
|
"status": "solved",
|
|
"message": "Solved by visible deductions; no hypothetical lookahead needed.",
|
|
"solutionCountCappedAtTwo": 1,
|
|
"cellCount": 49,
|
|
"givens": 0,
|
|
"resolvedCells": 49,
|
|
"initialDirectMoves": 7,
|
|
"deductionRounds": 7,
|
|
"comparisonSteps": 3,
|
|
"assumptionSteps": 0,
|
|
"maxAssumptionDepthUsed": 0,
|
|
"lookaheadDepth": 0,
|
|
"lookaheadLimit": 0,
|
|
"maxCellsCompared": 8,
|
|
"narrowestRound": 2,
|
|
"searchNodes": 0,
|
|
"remainingCells": [],
|
|
"rounds": [
|
|
{
|
|
"newCells": 7,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 6"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 35,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 36,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 37,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 38,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 39,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 40,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 41,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Row 6 needs 7 more lights in 7 unmarked cells.",
|
|
"cellsCompared": 7,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 12,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 1"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 0,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 7,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 14,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 21,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 28,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 42,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Column 1 needs 0 more lights in 6 unmarked cells.",
|
|
"cellsCompared": 6,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 7"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 6,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 13,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 20,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 27,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 34,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 48,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Column 7 needs 0 more lights in 6 unmarked cells.",
|
|
"cellsCompared": 6,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 5,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 5"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 29,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 30,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 31,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 32,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 33,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Row 5 needs 5 more lights in 5 unmarked cells.",
|
|
"cellsCompared": 5,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 8,
|
|
"steps": [
|
|
{
|
|
"rule": "comparison",
|
|
"clues": [
|
|
"Column 2",
|
|
"Area C"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 1,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 43,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 16,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 23,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 8,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Cancel shared unmarked cells in Column 2 (1 lights left) and Area C (3 left). Difference: -2.",
|
|
"cellsCompared": 7,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "comparison",
|
|
"clues": [
|
|
"Column 2",
|
|
"Area B"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 9,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Cancel shared unmarked cells in Column 2 (1 lights left) and Area B (4 left). Difference: -3.",
|
|
"cellsCompared": 8,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "comparison",
|
|
"clues": [
|
|
"Area A",
|
|
"Area C"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 17,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 24,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Cancel shared unmarked cells in Area A (3 lights left) and Area C (3 left). Difference: 0.",
|
|
"cellsCompared": 6,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 8,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 3"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 2,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 44,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Column 3 needs 0 more lights in 2 unmarked cells.",
|
|
"cellsCompared": 2,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 4"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 22,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 25,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 26,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Row 4 needs 3 more lights in 3 unmarked cells.",
|
|
"cellsCompared": 3,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 4"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 3,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 10,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 45,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Column 4 needs 3 more lights in 3 unmarked cells.",
|
|
"cellsCompared": 3,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 7,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 1"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 4,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 5,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Row 1 needs 0 more lights in 2 unmarked cells.",
|
|
"cellsCompared": 2,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 2"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 15,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Column 2 needs 0 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 6"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 12,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 19,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Column 6 needs 0 more lights in 4 unmarked cells.",
|
|
"cellsCompared": 4,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 7"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 47,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 46,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Row 7 needs 0 more lights in 2 unmarked cells.",
|
|
"cellsCompared": 2,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 2,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 2"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 11,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Row 2 needs 1 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 3"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 18,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Row 3 needs 1 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "needle",
|
|
"givens": "24,26,30,43",
|
|
"areas": "2,1,3,3;1,0,3,4;0,0,3,3",
|
|
"report": {
|
|
"status": "solved",
|
|
"message": "Solved by visible deductions; no hypothetical lookahead needed.",
|
|
"solutionCountCappedAtTwo": 1,
|
|
"cellCount": 49,
|
|
"givens": 4,
|
|
"resolvedCells": 45,
|
|
"initialDirectMoves": 12,
|
|
"deductionRounds": 7,
|
|
"comparisonSteps": 3,
|
|
"assumptionSteps": 0,
|
|
"maxAssumptionDepthUsed": 0,
|
|
"lookaheadDepth": 0,
|
|
"lookaheadLimit": 0,
|
|
"maxCellsCompared": 14,
|
|
"narrowestRound": 1,
|
|
"searchNodes": 0,
|
|
"remainingCells": [],
|
|
"rounds": [
|
|
{
|
|
"newCells": 12,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 7"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 42,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 44,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 45,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 46,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 47,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 48,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Row 7 needs 0 more lights in 6 unmarked cells.",
|
|
"cellsCompared": 6,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 7"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 6,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 13,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 20,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 27,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 34,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 41,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Column 7 needs 0 more lights in 7 unmarked cells.",
|
|
"cellsCompared": 7,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 16,
|
|
"steps": [
|
|
{
|
|
"rule": "comparison",
|
|
"clues": [
|
|
"Column 2",
|
|
"Area A"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 1,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 8,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 36,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 16,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 17,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 23,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 31,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Cancel shared unmarked cells in Column 2 (2 lights left) and Area A (6 left). Difference: -4.",
|
|
"cellsCompared": 10,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "comparison",
|
|
"clues": [
|
|
"Column 3",
|
|
"Area C"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 37,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 0,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 7,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 14,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 15,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Cancel shared unmarked cells in Column 3 (3 lights left) and Area C (1 left). Difference: 2.",
|
|
"cellsCompared": 11,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "comparison",
|
|
"clues": [
|
|
"Area A",
|
|
"Area C"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 22,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 29,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 2,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 9,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Cancel shared unmarked cells in Area A (6 lights left) and Area C (1 left). Difference: 5.",
|
|
"cellsCompared": 14,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 3,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 2"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 10,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 11,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 12,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Row 2 needs 3 more lights in 3 unmarked cells.",
|
|
"cellsCompared": 3,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 3,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 4"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 3,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 38,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Column 4 needs 0 more lights in 2 unmarked cells.",
|
|
"cellsCompared": 2,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Area B"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 21,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Area B needs 0 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 5,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 1"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 4,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 5,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Row 1 needs 2 more lights in 2 unmarked cells.",
|
|
"cellsCompared": 2,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 1"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 28,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 35,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Column 1 needs 2 more lights in 2 unmarked cells.",
|
|
"cellsCompared": 2,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 4"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 25,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Row 4 needs 1 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 5,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 5"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 32,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 33,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Row 5 needs 0 more lights in 2 unmarked cells.",
|
|
"cellsCompared": 2,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 5"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 18,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Column 5 needs 0 more lights in 3 unmarked cells.",
|
|
"cellsCompared": 3,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 6"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 39,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 40,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Row 6 needs 0 more lights in 2 unmarked cells.",
|
|
"cellsCompared": 2,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 1,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 3"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 19,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Row 3 needs 1 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "mirror",
|
|
"givens": "18,25,27,28",
|
|
"areas": "2,2,4,4;1,2,4,3;0,4,3,3",
|
|
"report": {
|
|
"status": "solved",
|
|
"message": "Solved by visible deductions; no hypothetical lookahead needed.",
|
|
"solutionCountCappedAtTwo": 1,
|
|
"cellCount": 49,
|
|
"givens": 4,
|
|
"resolvedCells": 45,
|
|
"initialDirectMoves": 5,
|
|
"deductionRounds": 8,
|
|
"comparisonSteps": 3,
|
|
"assumptionSteps": 0,
|
|
"maxAssumptionDepthUsed": 0,
|
|
"lookaheadDepth": 0,
|
|
"lookaheadLimit": 0,
|
|
"maxCellsCompared": 11,
|
|
"narrowestRound": 2,
|
|
"searchNodes": 0,
|
|
"remainingCells": [],
|
|
"rounds": [
|
|
{
|
|
"newCells": 5,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 5"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 4,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 11,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 32,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 39,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 46,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Column 5 needs 5 more lights in 5 unmarked cells.",
|
|
"cellsCompared": 5,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 7,
|
|
"steps": [
|
|
{
|
|
"rule": "comparison",
|
|
"clues": [
|
|
"Column 3",
|
|
"Area B"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 2,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 37,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 44,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 10,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 17,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 24,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 31,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Cancel shared unmarked cells in Column 3 (5 lights left) and Area B (2 left). Difference: 3.",
|
|
"cellsCompared": 11,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 3,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 4"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 3,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 38,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 45,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Column 4 needs 3 more lights in 3 unmarked cells.",
|
|
"cellsCompared": 3,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 12,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 1"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 0,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 1,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 5,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 6,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Row 1 needs 0 more lights in 4 unmarked cells.",
|
|
"cellsCompared": 4,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 6"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 35,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 36,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 40,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 41,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Row 6 needs 0 more lights in 4 unmarked cells.",
|
|
"cellsCompared": 4,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 7"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 42,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 43,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 47,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 48,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Row 7 needs 0 more lights in 4 unmarked cells.",
|
|
"cellsCompared": 4,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 8,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 2"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 8,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 15,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 22,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 29,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Column 2 needs 4 more lights in 4 unmarked cells.",
|
|
"cellsCompared": 4,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 6"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 12,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 19,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 26,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 33,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Column 6 needs 4 more lights in 4 unmarked cells.",
|
|
"cellsCompared": 4,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 2,
|
|
"steps": [
|
|
{
|
|
"rule": "comparison",
|
|
"clues": [
|
|
"Column 3",
|
|
"Area A"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 9,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Cancel shared unmarked cells in Column 3 (2 lights left) and Area A (1 left). Difference: 1.",
|
|
"cellsCompared": 4,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "comparison",
|
|
"clues": [
|
|
"Column 7",
|
|
"Area C"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 34,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Cancel shared unmarked cells in Column 7 (1 lights left) and Area C (1 left). Difference: 0.",
|
|
"cellsCompared": 3,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 3,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 2"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 7,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 13,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Row 2 needs 0 more lights in 2 unmarked cells.",
|
|
"cellsCompared": 2,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 5"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 30,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Row 5 needs 1 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 5,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 1"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 14,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 21,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Column 1 needs 2 more lights in 2 unmarked cells.",
|
|
"cellsCompared": 2,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 3"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 16,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 23,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Column 3 needs 0 more lights in 2 unmarked cells.",
|
|
"cellsCompared": 2,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 7"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 20,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Column 7 needs 1 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "gate",
|
|
"givens": "1,8,10,26",
|
|
"areas": "1,2,3,4;3,1,3,3;4,2,3,4",
|
|
"report": {
|
|
"status": "solved",
|
|
"message": "Solved by visible deductions; no hypothetical lookahead needed.",
|
|
"solutionCountCappedAtTwo": 1,
|
|
"cellCount": 49,
|
|
"givens": 4,
|
|
"resolvedCells": 45,
|
|
"initialDirectMoves": 5,
|
|
"deductionRounds": 7,
|
|
"comparisonSteps": 4,
|
|
"assumptionSteps": 0,
|
|
"maxAssumptionDepthUsed": 0,
|
|
"lookaheadDepth": 0,
|
|
"lookaheadLimit": 0,
|
|
"maxCellsCompared": 14,
|
|
"narrowestRound": 2,
|
|
"searchNodes": 0,
|
|
"remainingCells": [],
|
|
"rounds": [
|
|
{
|
|
"newCells": 5,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 2"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 15,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 22,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 29,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 36,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 43,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Column 2 needs 0 more lights in 5 unmarked cells.",
|
|
"cellsCompared": 5,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 5,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 4"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 21,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 23,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 24,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 25,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 27,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Row 4 needs 5 more lights in 5 unmarked cells.",
|
|
"cellsCompared": 5,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 12,
|
|
"steps": [
|
|
{
|
|
"rule": "comparison",
|
|
"clues": [
|
|
"Column 4",
|
|
"Area C"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 3,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 17,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 30,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 37,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Cancel shared unmarked cells in Column 4 (4 lights left) and Area C (2 left). Difference: 2.",
|
|
"cellsCompared": 14,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "comparison",
|
|
"clues": [
|
|
"Area B",
|
|
"Area C"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 32,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 33,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 39,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 40,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 44,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 46,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 47,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 45,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Cancel shared unmarked cells in Area B (2 lights left) and Area C (2 left). Difference: 0.",
|
|
"cellsCompared": 12,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 8,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 4"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 31,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 38,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Column 4 needs 2 more lights in 2 unmarked cells.",
|
|
"cellsCompared": 2,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 5"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 28,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 34,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Row 5 needs 3 more lights in 3 unmarked cells.",
|
|
"cellsCompared": 3,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 6"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 35,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 41,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Row 6 needs 3 more lights in 3 unmarked cells.",
|
|
"cellsCompared": 3,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 7"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 42,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 48,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Row 7 needs 2 more lights in 2 unmarked cells.",
|
|
"cellsCompared": 2,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 8,
|
|
"steps": [
|
|
{
|
|
"rule": "comparison",
|
|
"clues": [
|
|
"Row 2",
|
|
"Area A"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 7,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 13,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 19,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Cancel shared unmarked cells in Row 2 (3 lights left) and Area A (1 left). Difference: 2.",
|
|
"cellsCompared": 8,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "comparison",
|
|
"clues": [
|
|
"Column 6",
|
|
"Area A"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 16,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 18,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 5,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 9,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 11,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Cancel shared unmarked cells in Column 6 (2 lights left) and Area A (1 left). Difference: 1.",
|
|
"cellsCompared": 7,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 5,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 2"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 12,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Row 2 needs 1 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 3"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 14,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 20,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Row 3 needs 2 more lights in 2 unmarked cells.",
|
|
"cellsCompared": 2,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 3"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 2,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Column 3 needs 1 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 5"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 4,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Column 5 needs 1 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 2,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 1"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 0,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Column 1 needs 0 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 7"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 6,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Column 7 needs 0 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "moon",
|
|
"givens": "8,21,36",
|
|
"areas": "1,1,4,3;2,0,4,3;0,1,4,3",
|
|
"report": {
|
|
"status": "solved",
|
|
"message": "Solved by visible deductions; no hypothetical lookahead needed.",
|
|
"solutionCountCappedAtTwo": 1,
|
|
"cellCount": 49,
|
|
"givens": 3,
|
|
"resolvedCells": 46,
|
|
"initialDirectMoves": 13,
|
|
"deductionRounds": 8,
|
|
"comparisonSteps": 4,
|
|
"assumptionSteps": 0,
|
|
"maxAssumptionDepthUsed": 0,
|
|
"lookaheadDepth": 0,
|
|
"lookaheadLimit": 0,
|
|
"maxCellsCompared": 10,
|
|
"narrowestRound": 2,
|
|
"searchNodes": 0,
|
|
"remainingCells": [],
|
|
"rounds": [
|
|
{
|
|
"newCells": 13,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 1"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 0,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 7,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 14,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 28,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 35,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 42,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Column 1 needs 0 more lights in 6 unmarked cells.",
|
|
"cellsCompared": 6,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 7"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 6,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 13,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 20,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 27,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 34,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 41,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 48,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Column 7 needs 0 more lights in 7 unmarked cells.",
|
|
"cellsCompared": 7,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 8,
|
|
"steps": [
|
|
{
|
|
"rule": "comparison",
|
|
"clues": [
|
|
"Row 4",
|
|
"Area B"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 24,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 25,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 26,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 15,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 16,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 29,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 30,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 37,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Cancel shared unmarked cells in Row 4 (1 lights left) and Area B (6 left). Difference: -5.",
|
|
"cellsCompared": 10,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 6,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 3"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 17,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 18,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 19,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Row 3 needs 0 more lights in 3 unmarked cells.",
|
|
"cellsCompared": 3,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 5"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 31,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 32,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 33,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Row 5 needs 0 more lights in 3 unmarked cells.",
|
|
"cellsCompared": 3,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 4,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 4"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 3,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 10,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 38,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 45,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Column 4 needs 4 more lights in 4 unmarked cells.",
|
|
"cellsCompared": 4,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 2,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 6"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 39,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 40,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Row 6 needs 0 more lights in 2 unmarked cells.",
|
|
"cellsCompared": 2,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 5,
|
|
"steps": [
|
|
{
|
|
"rule": "comparison",
|
|
"clues": [
|
|
"Column 3",
|
|
"Area A"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 2,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 44,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 22,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Cancel shared unmarked cells in Column 3 (1 lights left) and Area A (2 left). Difference: -1.",
|
|
"cellsCompared": 5,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "comparison",
|
|
"clues": [
|
|
"Row 4",
|
|
"Area A"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 9,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Cancel shared unmarked cells in Row 4 (1 lights left) and Area A (2 left). Difference: -1.",
|
|
"cellsCompared": 3,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "comparison",
|
|
"clues": [
|
|
"Area A",
|
|
"Area C"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 1,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Cancel shared unmarked cells in Area A (2 lights left) and Area C (2 left). Difference: 0.",
|
|
"cellsCompared": 5,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 6,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 1"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 4,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 5,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Row 1 needs 2 more lights in 2 unmarked cells.",
|
|
"cellsCompared": 2,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 2"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 11,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 12,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Row 2 needs 0 more lights in 2 unmarked cells.",
|
|
"cellsCompared": 2,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 2"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 43,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Column 2 needs 0 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 3"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 23,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Column 3 needs 0 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 2,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 5"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 46,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Column 5 needs 1 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 6"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 47,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Column 6 needs 1 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "chair",
|
|
"givens": "",
|
|
"areas": "0,2,4,3;3,3,3,3;3,4,3,3",
|
|
"report": {
|
|
"status": "solved",
|
|
"message": "Solved by visible deductions; no hypothetical lookahead needed.",
|
|
"solutionCountCappedAtTwo": 1,
|
|
"cellCount": 49,
|
|
"givens": 0,
|
|
"resolvedCells": 49,
|
|
"initialDirectMoves": 21,
|
|
"deductionRounds": 8,
|
|
"comparisonSteps": 3,
|
|
"assumptionSteps": 0,
|
|
"maxAssumptionDepthUsed": 0,
|
|
"lookaheadDepth": 0,
|
|
"lookaheadLimit": 0,
|
|
"maxCellsCompared": 11,
|
|
"narrowestRound": 1,
|
|
"searchNodes": 0,
|
|
"remainingCells": [],
|
|
"rounds": [
|
|
{
|
|
"newCells": 21,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 1"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 0,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 7,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 14,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 21,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 28,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 35,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 42,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Column 1 needs 0 more lights in 7 unmarked cells.",
|
|
"cellsCompared": 7,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 2"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 1,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 8,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 15,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 22,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 29,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 36,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 43,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Column 2 needs 7 more lights in 7 unmarked cells.",
|
|
"cellsCompared": 7,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 7"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 6,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 13,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 20,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 27,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 34,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 41,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 48,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Column 7 needs 0 more lights in 7 unmarked cells.",
|
|
"cellsCompared": 7,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 4,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 5"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 30,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 31,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 32,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 33,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Row 5 needs 4 more lights in 4 unmarked cells.",
|
|
"cellsCompared": 4,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 5,
|
|
"steps": [
|
|
{
|
|
"rule": "comparison",
|
|
"clues": [
|
|
"Row 4",
|
|
"Area C"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 23,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 24,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 39,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 40,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Cancel shared unmarked cells in Row 4 (1 lights left) and Area C (3 left). Difference: -2.",
|
|
"cellsCompared": 6,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "comparison",
|
|
"clues": [
|
|
"Area B",
|
|
"Area C"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 38,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Cancel shared unmarked cells in Area B (3 lights left) and Area C (3 left). Difference: 0.",
|
|
"cellsCompared": 6,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 1,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 6"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 37,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Row 6 needs 0 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 8,
|
|
"steps": [
|
|
{
|
|
"rule": "comparison",
|
|
"clues": [
|
|
"Row 2",
|
|
"Area A"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 12,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 2,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 3,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 4,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 16,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 17,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 18,
|
|
"value": 1
|
|
},
|
|
{
|
|
"cell": 25,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Cancel shared unmarked cells in Row 2 (1 lights left) and Area A (8 left). Difference: -7.",
|
|
"cellsCompared": 11,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 7,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 1"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 5,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Row 1 needs 0 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 3"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 19,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Row 3 needs 0 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 3"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 9,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 44,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Column 3 needs 0 more lights in 2 unmarked cells.",
|
|
"cellsCompared": 2,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 4"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 26,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Row 4 needs 0 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 4"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 10,
|
|
"value": 0
|
|
},
|
|
{
|
|
"cell": 45,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Column 4 needs 0 more lights in 2 unmarked cells.",
|
|
"cellsCompared": 2,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 2,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Row 2"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 11,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Row 2 needs 1 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
},
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 6"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 47,
|
|
"value": 1
|
|
}
|
|
],
|
|
"explanation": "Column 6 needs 1 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"newCells": 1,
|
|
"steps": [
|
|
{
|
|
"rule": "direct",
|
|
"clues": [
|
|
"Column 5"
|
|
],
|
|
"marks": [
|
|
{
|
|
"cell": 46,
|
|
"value": 0
|
|
}
|
|
],
|
|
"explanation": "Column 5 needs 0 more lights in 1 unmarked cells.",
|
|
"cellsCompared": 1,
|
|
"assumptionDepth": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|