default

fun default(boxDigits: Int, random: Random): SudokuLayoutManipulator

Provides a default implementation of SudokuLayoutManipulator.

This implementation includes basic functionality for constructing a base layout, shuffling, and rotating the layout. The shuffling involves randomizing rows, columns, and bands, and rotation includes all four possible angles (0°, 90°, 180°, and 270°).

Return

A SudokuLayoutManipulator instance with the default implementation.

Parameters

boxDigits

The size of the Sudoku grid (e.g., 9 for a 9x9 Sudoku).

random

The random number generator used for shuffling and rotation.