public boolean joinGame(){
        System.out.println("Going to try to join a game, getting address...");
        String input = "";
        Main.v.resetAll();
        boolean done = false;
        Main.v.menuItems = new String[2];
        Main.v.menuItems[0] = "Enter the IP:";
        do{
            Main.v.menuItems[1] = input;
            p.printMenu();
            repaint();
            waitKey();
            if(((Main.v.key >= 48) && (Main.v.key <= 57)) || //If it is a number..
                    (Main.v.key == 46)){ //If it is a '.'
                input += (char)Main.v.key;
            }
            if(Main.v.key == 8){//If it is 'DELETE
                if(input.length() > 0){
                    input = input.substring(0, input.length() - 1);
                }
            }
            if(Main.v.key == Main.v.ESC){
                return false;
            }
            if(Main.v.key == Main.v.ENTER){
                Main.v.menuItems[0] = "Trying to connect to:";
                p.printMenu();
                repaint();
                om.connectToHost(input);
                done = true;
            }
        }while(done == false);

        return true;
    }