// System.out.println("Enter your nick:");
// BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));
// String nick = bufferedReader.readLine();
GameServer gameServer = (GameServer) Naming
.lookup(RMI_REGISTRY_ADDRESS + "/" + PAN_GAME_SERVER_REMOTE_OBJECT_NAME);
String userName = "g1";
PlayerToken playerToken = gameServer.register(userName);
GameListener gameListener = new ClientGameListener(playerToken);
UnicastRemoteObject.exportObject(gameListener, 0);
GameController gameController = gameServer.createGame(playerToken, "game1", 1, 1, gameListener);
gameListener.registerGameController(gameController);
// System.out.println("Aktualna zawartosc tablicy: " + noteboard.getText(userToken));
} catch (Exception e) {