public GameBoard() {
        try {
            waitingScreen.add(background);
            waitingScreen.setVisible(true);
            waitingScreen.setSize(1280, 720);
            waitingScreen.setLocationRelativeTo(null);
            String customip
                    = joption.showInputDialog("Leave Empty for localHost\n" + "or Enter a custom IP and go on an adventure");
            client = new Client(customip);
            player = Integer.parseInt(client.receive());
            waitingScreen.dispose();
        } catch (Exception e) {
            e.printStackTrace();
        }

    }