예제 #1
0
        public static IMove RandomMove(this IRandomGenerator randomGenerator)
        {
            var index = randomGenerator.GetNext(0, PossibleMoves.Count - 1);

            return(PossibleMoves.ElementAt(index));
        }