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

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