public void run() {
		Scanner scanner = new Scanner(System.in);
		do {
			if (level == null) {
				if (scanner.hasNextLine()) {
					level = scanner.nextLine();
				}
				message("Enter level: ");
				level = scanner.nextLine();
			}
			program.init(level);
			program.run(this);
			Integer result = null;
			while (result == null) {
				if (scanner.hasNextLine()) {
					String line = scanner.nextLine();
					result = program.doLine(line);
				} else {
					result = 0;
				}
			}
			message("Game over" + (result != 0 ? "" : ", no result") + "!");
			if (result > 0) {
				level = null;
			}
			message("Another go (true/false)?");
		} while (scanner.nextBoolean());
		scanner.close();
	}