sudoco / nl.entreco.sudoco.shared / Sudoco / Builder

Builder

class Builder

Builds a new Sudoku.

Constructors

<init>

Builds a new Sudoku.

Builder(size: Int = DEFAULT_SIZE)

Functions

build

fun build(): Sudoco

withEntries

fun withEntries(entries: List<Int>): Builder

withValue

fun withValue(row: Int, col: Int, value: Int): Builder