Esempio n. 1
0
 public override Move DecideNextMove(Rules rules, Playground playground)
 {
     return(rules.GetValidMoves(playground)[0]);
 }
Esempio n. 2
0
        public override Move DecideNextMove(Rules rules, Playground playground)
        {
            List <Move> validMoves = rules.GetValidMoves(playground);

            return(validMoves[_random.Next(validMoves.Count)]);
        }