public static void main(String[] args) {
		if (args.length > 1) {
			String runType = args[0];
			String pgnGame = args[1];
			PGNViewer pgnViewer = new PGNViewer(PGNParser.getPGNGame(pgnGame));
			Game game = pgnViewer.initializeGame();

			if (runType.equals("-n")) { // non-interactive mode
				runNonInteractiveMode(pgnViewer, game);
			} else if (runType.equals("-c")) {
				runCommandLineInteractiveMode(pgnViewer, game);
			} else if (runType.equals("-s")) {
				runSwingDisplay(pgnViewer, game);
			} else {
				System.err
				.print("An unknown command line option was specified: "
						+ args[1]);
			}
		} else {
			System.err.print("An invalid number of arguments were specified");
		}
	}