public Trivia() {
		System.out.println("> loading challenges...");
		
		easyTrivia = new ArrayList<Challenge>();
		mediumTrivia = new ArrayList<Challenge>();
		hardTrivia = new ArrayList<Challenge>();
		gameChallenges = new ArrayList<Challenge>();
		randy = new Random();

		// read in each file, every odd line is a question, even lines are corresponding answers
		try {
			// easy trivia
			Scanner read = new Scanner(new File("chal/easy_trivia.txt"));
			while (read.hasNextLine()) {
				String q = read.nextLine();
				if (!read.hasNextLine()) break;
				String a = read.nextLine();
				easyTrivia.add(new Challenge(q, a,
						"<html><center>EASY TRIVIA<br>1 POINT</center></html>"));
			}
			System.out.println(">> " + easyTrivia.size() + " easy trivia loaded");
			
			// medium trivia
			read = new Scanner(new File("chal/medium_trivia.txt"));
			while (read.hasNextLine()) {
				String q = read.nextLine();
				if (!read.hasNextLine()) break;
				String a = read.nextLine();
				mediumTrivia.add(new Challenge(q, a,
						"<html><center>MEDIUM TRIVIA<br>2 POINTS</center></html>"));
			}
			System.out.println(">> " + mediumTrivia.size() + " medium trivia loaded");
			
			// hard trivia
			read = new Scanner(new File("chal/hard_trivia.txt"));
			while (read.hasNextLine()) {
				String q = read.nextLine();
				if (!read.hasNextLine()) break;
				String a = read.nextLine();
				hardTrivia.add(new Challenge(q, a,
						"<html><center>HARD TRIVIA<br>3 POINTS</center></html>"));
			}
			System.out.println(">> " + hardTrivia.size() + " hard trivia loaded");
			
			// game challenges
			read = new Scanner(new File("chal/game_challenges.txt"));
			while (read.hasNextLine()) {
				String q = read.nextLine();
				gameChallenges.add(new Challenge(q, "Game Challenge",
						"<html><center>GAME CHALLENGE<br>4 POINTS</center></html>"));
			}
			System.out.println(">> " + gameChallenges.size() + " game challenges loaded");
			
			read.close();
		}
		catch (FileNotFoundException e) {
			e.printStackTrace();
		}

	}