Formatting

This commit is contained in:
Imbus 2023-12-05 13:08:00 +01:00
parent 6de3e286ed
commit 4879795aa5

View file

@ -1,14 +1,14 @@
package sudoku; package sudoku;
public interface SudokuSolver{ public interface SudokuSolver {
// Work in progress // Work in progress
/** /**
* Set sudoku board, numbers 1-9 are fixed values, 0 is unsolved. * Set sudoku board, numbers 1-9 are fixed values, 0 is unsolved.
*/ */
void setBoard(int[][] board); void setBoard(int[][] board);
/** /**
* Get the sudoku board * Get the sudoku board
*/ */
@ -16,12 +16,14 @@ public interface SudokuSolver{
/** /**
* Solve soduko * Solve soduko
*
* @return true if solution could be found * @return true if solution could be found
*/ */
boolean solve(); boolean solve();
/** /**
* Check if digit is legal on the current board * Check if digit is legal on the current board
*
* @param row * @param row
* @param col * @param col
* @param nbr * @param nbr