/** @param args */ public static void main(String[] args) { boolean headless = false; if (args.length > 0) { for (int i = 0; i < args.length; i++) { if (args[i].equalsIgnoreCase("-headless")) { headless = true; } } } // Load map (default = 2030) game = new Game(LoadData.loadCountriesHardcoded(), headless); // Create and show GUI if (!headless) { createAndShowGUI(game); } // Launch the game game.getEngine().start(); }