Пример #1
0
        static void Main(string[] args)
        {
            Block block = new Block();

            block.PossibleMoves[0].ExecuteMove();
            block.PossibleMoves[1].ExecuteMove();
            block.PossibleMoves[1].ExecuteMove();
            block.PossibleMoves[1].ExecuteMove();
            block.PossibleMoves[5].ExecuteMove();
            block.PossibleMoves[1].ExecuteMove();
            block.PossibleMoves[7].ExecuteMove();
            //block.PossibleMoves[3].ExecuteMove();
            //block.PossibleMoves[4].ExecuteMove();
            //block.PossibleMoves[2].ExecuteMove();
            //block.PossibleMoves[1].ExecuteMove();

            block.PrintCube(Console.Out, 1);
            Console.WriteLine();

            //Console.WriteLine(Solve(block));
            Console.WriteLine(Solve(block, 0));
            //SolveBfs(block);

            block.PrintCube(Console.Out, 1);
        }