예제 #1
0
 private void GenerateMove(Game game)
 {
     ReadOnlyCollection<IPlayerMoveForUpdate> moves = game.GenerateAllMoves();
     int index = RandomGenerator.Next(moves.Count);
     _actualMove = moves[index];
 }