This commit is contained in:
mike
2026-01-24 01:43:41 +01:00
parent b8fc6581e1
commit f61d04bb61
3 changed files with 21 additions and 22 deletions

View File

@@ -86,7 +86,12 @@ public class Riddle {
public static Clue from(int dir) { return CLUES[dir]; }
}
public record Vestigium(int index, int clue) { }
public record Vestigium(int index, int clue) {
public int cellIndex() {
return index * 33 + 27 + Slot.dir(clue);
}
}
public record ExportedPuzzle(String[] grid, WordOut[] words, int difficulty, Rewards rewards) { }