shuffle

abstract fun shuffle(layout: Layout): Layout

Shuffles the given Sudoku layout by applying a series of transformations.

This method applies random shuffling to rows, columns, and bands of the layout to generate a new layout configuration.

Return

A new Sudoku layout with applied shuffling.

Parameters

layout

The Sudoku layout to be shuffled.