public void removePlayer(Player player) {
        List<Player> newPlayers = new ArrayList<Player>();
        for (Player player1 : players) {
            if (!player1.equals(player)) {
                newPlayers.add(player1);
            }
        }
        players = newPlayers;
    }