public static void main(String args[]) {
		scores = new ArrayList<Score>();
		// System.out.println(temp.getAbsolutePath());
		BufferedReader reader = null;
		BufferedWriter writer = null;
		numFlagToMark = 10;
		try {
			reader = new BufferedReader(new FileReader(scoresFile));
			for (String t = reader.readLine(); t != null; t = reader.readLine()) {
				StringTokenizer st = new StringTokenizer(t);
				while (st.hasMoreTokens()) {
					scores.add(new Score(Float.parseFloat(st.nextToken()), st.nextToken()));
				}
			}
			reader.close();
		} catch (FileNotFoundException e) {
			try {
				writer = new BufferedWriter(new FileWriter(scoresFile));
				for (int i = 0; i < 10; i++) {
					writer.write("9999.0    Computer\n");
					scores.add(new Score(9999.0f, "Computer"));
				}
				writer.close();
			} catch (IOException e1) {
				e1.printStackTrace();
			}
		} catch (IOException e) {
			e.printStackTrace();
		}
		new MainFrame("Mine Sweeper").pack();
	}