Пример #1
0
        public async Task Solve()
        {
            var options = await _client.EnterMaze(_maze.Name);

            TrackExits(options, _exitCrumbs);
            TrackCollectionPoints(options, _collectCrumbs);

            options = await CollectAllPoints(options);

            options = await CollectScoreInHand(options);
            await GoToExit(options);
        }
Пример #2
0
 public async Task <PossibleActionsAndCurrentScore> EnterMaze(string mazeName)
 {
     IncreaseInvocationCount();
     return(await _amazeingClientImplementation.EnterMaze(mazeName));
 }