public MainWindow() { InitializeComponent(); //var puzzle = PuzzleGenerator.CreateEmptyPuzzle(); var puzzle = PuzzleGenerator.CreateSolvable(); foreach (var box in puzzle.AllBoxes) { Boxes.Add(box); } DataContext = this; }
private static void Main() { var puzzle = PuzzleGenerator.CreateSolvable(); puzzle.PuzzlePrinter(); }