示例#1
0
        public BotResponse GetResponse(TimeSpan time)
        {
            SetDuration(time);

            var path = DecisionMaker.GetMove(Field, Opponent, Current, Next, State.Round);
            var move = new MoveInstruction(path.Moves.ToArray());

            var response = new BotResponse()
            {
                Move = move,
                Log  = DecisionMaker.GetLog(),
            };

            return(response);
        }