Esempio n. 1
0
        public override PlayerResult GetMove(OthelloBoard board)
        {
            ArrayList    moves     = board.GetValidMoves();
            int          moveIndex = rand.Next(moves.Count);
            PlayerResult result    = new PlayerResult();

            result.Move = (OthelloMove)moves[moveIndex];
            return(result);
        }