This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
*/
|
||||
package sudoku;
|
||||
|
||||
import sudoku.io.SudokuPrinter;
|
||||
|
||||
public class Main {
|
||||
public String getGreeting() {
|
||||
return "Hello World!";
|
||||
@@ -10,7 +12,9 @@ public class Main {
|
||||
|
||||
public static void main(String[] args) {
|
||||
System.out.println(new Main().getGreeting());
|
||||
var test = SudokuFactory.createBasicEmptyRectangleSudoku(3, 3);
|
||||
System.out.println(test);
|
||||
int blockWidth = 3;
|
||||
int blockHeight = 3;
|
||||
var sudoku = SudokuFactory.createBasicEmptyRectangleSudoku(blockWidth, blockHeight);
|
||||
SudokuPrinter.printRectangleSudoku(sudoku.getSubGrid(0), blockWidth , blockHeight);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user