示例#1
0
        public MainWindow()
        {
            InitializeComponent();
            //var puzzle = PuzzleGenerator.CreateEmptyPuzzle();
            var puzzle = PuzzleGenerator.CreateSolvable();

            foreach (var box in puzzle.AllBoxes)
            {
                Boxes.Add(box);
            }



            DataContext = this;
        }
示例#2
0
        private static void Main()
        {
            var puzzle = PuzzleGenerator.CreateSolvable();

            puzzle.PuzzlePrinter();
        }