コード例 #1
0
    //returns the board state
    public static string GetBoardState(BoardData board)
    {
        StringBuilder stringBuilder = new StringBuilder(board.GetXYZBoard());

        stringBuilder.Append(board.GetXZYBoard());
        stringBuilder.Append(board.GetYXZBoard());
        stringBuilder.Append(board.GetYZXBoard());
        stringBuilder.Append(board.GetZXYBoard());
        stringBuilder.Append(board.GetZYXBoard());
        stringBuilder.Append(board.GetDxDyDzBoard());
        stringBuilder.Append(board.GetDxDyInverseDzBoard());
        stringBuilder.Append(board.GetDxInverseDyDzBoard());
        stringBuilder.Append(board.GetDxInverseDyInverseDzBoard());
        stringBuilder.Append(board.GetXDyDzBoard());
        stringBuilder.Append(board.GetXDyDzInverseBoard());
        stringBuilder.Append(board.GetYDxDzBoard());
        stringBuilder.Append(board.GetYDxDzInverseBoard());
        stringBuilder.Append(board.GetZDxDyBoard());
        stringBuilder.Append(board.GetZDxDyInverseBoard());


        return(stringBuilder.ToString());
    }