Make special mechanics essential in postcard and story puzzles

This commit is contained in:
Hadrian Burkhardt
2026-11-14 10:10:36 +01:00
parent b19295472d
commit fc71accb38
11 changed files with 736 additions and 40 deletions
+7 -1
View File
@@ -1533,6 +1533,12 @@ class _NotebookState extends State<Notebook> with WidgetsBindingObserver {
}
List<Widget> puzzleNotes() => [
if (g.puzzle?.omittedRow != null)
writing(
'Two totals have faded. Use the marked cells and area clues to recover the pattern.',
size: 19,
color: regionInk,
),
if (g.puzzle?.footprintTrails.isNotEmpty ?? false)
writing(
'Footprints: exactly two marked cells are lit, and they touch.',
@@ -1547,7 +1553,7 @@ class _NotebookState extends State<Notebook> with WidgetsBindingObserver {
),
if (g.puzzle?.hiddenRow case final row?)
writing(
'Row ${row + 1} has one more light than row $row.',
'Row ${row + 1} and the diamond-marked cells together contain ${g.puzzle!.hiddenClueTotal} lights. Recover both missing totals.',
size: 19,
color: regionInk,
),