public static void main(String[] args) {
        //start loc
        if (args.length > 0) {
           try {
              int startLocation = Integer.parseInt(args[0]);
              //check for loc
              if ( startLocation >= 0 && startLocation <= MAX_LOCALES) {
                  currentLocale = startLocation;
              }
           } catch(NumberFormatException ex) {   // catch(Exception ex)
              System.out.println("" + args[0] + " is not a location.");
              if (DEBUGGING) {
                 System.out.println(ex.toString());
              }
           }
        }

        
        init();
        updateDisplay();

        //loop
        while (stillPlaying) {
            getCommand();
            navigate();
            updateDisplay();
            if(score<0){
                System.out.println("You've spent more than you have. There're no free lunches in this world, pal. But:");
                quit();
            }
        }
        System.out.println("Thanks for playing!");
    }