/**
  * Consente a un player di aggiungersi a una partita creata precedentemente da un altro player.
  *
  * @param idGame id della partita in cui aggiungersi.
  * @throws MalformedURLException
  * @throws RemoteException
  * @throws NotBoundException
  * @throws GameJoiningException se la partita non e' piu' disponibile perche' e' stata cancellata
  *     oppure e' gia' completa
  */
 public void joinGame(String idGame)
     throws MalformedURLException, RemoteException, NotBoundException, GameJoiningException {
   idGameJoined = idGame;
   creator = false;
   server.joinGame(p, idGame);
 }