Add app icons for desktop

This commit is contained in:
Christian Basler
2025-05-30 06:06:51 +02:00
parent 935115ca65
commit fe45a0255c
8 changed files with 20 additions and 25 deletions

View File

@@ -65,20 +65,6 @@ internal fun solve(
} catch (_: UnsolvablePuzzleException) {
return NO_SOLUTION
}
// TODO: this breaks stuff and is probably unnecessary, but further tests might be needed
// grid.forEach { row -> row.forEach { cell -> row.cleanupOptions(cell) } }
// grid.forEach { row ->
// row.filter { it.selection == null && it.options.size in 2..row.size / 2 }
// .groupBy { cell -> cell.options }
// .filter { it.value.size == it.key.size }
// .forEach { entry ->
// val groupOptions = entry.key
// val group = entry.value
// println("removing options for group ${groupOptions.map { it.symbol }}")
// row.filter { !group.contains(it) }
// .forEach { it.options.removeAll(groupOptions) }
// }
// }
grid.cleanupOptions()
} while (removedOptions)