public State ExecuteForTopography(Topography topography)
        {
            var initialState = new State(
                topography,
                ImmutableList.Create <(int, int)>(),
                0,
                0
                );

            return(RunCommands(initialState));
        }
Exemple #2
0
 public static void DoTask2(Topography topography)
 {
     var moveCommandsToCheck = new (int dx, int dy)[]
Exemple #3
0
 public State
 (
     Topography topography,
     IImmutableList <(int x, int y)> moveHistory,