sudoco / nl.entreco.sudoco.shared / Sudoco

Sudoco

class Sudoco

Sudoco.

  1. Create a Sudocu using the Builder:
val sudo = Sudoco.Builder()
.withEntries(listOf(0,0,0,8,9,3,6))
.build()
  1. Solve using a Solver:
Solver(sudoco= sudo, algorithm= TreeSearching())
.solve()

Types

Builder

Builds a new Sudoku.

class Builder

Properties

data

val data: IntArray

size

val size: Int

Functions

blanks

fun blanks(): Int

equals

fun equals(other: Any?): Boolean

hashCode

fun hashCode(): Int

isValid

fun isValid(): Boolean

query

fun query(row: Int, col: Int): Int