private void handleNetworkCommand(String[] args) throws IOException {
        if (pfactory.hasGameNetwork()) {
            if (args[0].equalsIgnoreCase("start")) {
                pfactory.sendStartGamePacket(Strategy.Standard, 1);
            } else if (args[0].equalsIgnoreCase("play")) {
                handlePlayCommand(args);
            } else if (args[0].equalsIgnoreCase("bet")) {
                handleBetCommand(args);
            }
        } else {
            LOG.warn("No connection available! Use \"/join\" or \"/joinip\" first");
        }

    }