-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e020903
commit 63c2321
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
src/main/kotlin/io/github/ilikeyourhat/kudoku/type/Classic36x36.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package io.github.ilikeyourhat.kudoku.type | ||
|
||
import io.github.ilikeyourhat.kudoku.model.SudokuType | ||
import io.github.ilikeyourhat.kudoku.model.dividers.RegionDivider | ||
|
||
/** | ||
* WARNING: this sudoku type is very demanding for the computer resources. Generating and solving it would take | ||
* a considerable amount of time, measured in minutes or even hours. For this reason, it is not recommended to use it | ||
* unless you really know what you are doing. | ||
* | ||
* This class is not unit tested because of the above. | ||
* | ||
* "Your scientists were so preoccupied with whether or not they could, they didn't stop to think if they should." | ||
*/ | ||
object Classic36x36 : SudokuType { | ||
|
||
override val name = "classic_36x36" | ||
override val sizeX = 36 | ||
override val sizeY = 36 | ||
override val maxValue = 36 | ||
|
||
override fun divider(): RegionDivider { | ||
return RegionDivider() | ||
.divideByRows() | ||
.divideByColumns() | ||
.divideByBlocks(6) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters