public static Player createPlayer(String type,char mark){
  Player player=null;
  if (type.equals(Random)) {
    player=new RandomPlayer(mark);
  }
 else {
    return null;
  }
  player.score(new BoardEvaluation());
  return player;
}

public static Player createPlayer ( String type , char mark ) { Player player = null ; if ( type . equals ( Random ) ) { player = new RandomPlayer ( mark ) ; } else { return null ; } player . score ( new BoardEvaluation ( ) ) ; return player ; }
create a player just by the type . return null if not random since that type might require parameters of which this method is unaware .
