I’ve decided to start working on the Jeopardy project that I mentioned in my previous post. It is the easiest for me to get started because it the only one that does not require me spending some money to get the necessary materials.
First step in the project is to get questions and answers (or answers and questions) from the J-Archive website. I’ve already began work on a few perl scripts that will comb through the site. Just a few minor adjustments are needed and I might be able to get all the data in the next few days. My biggest challenge for this was learning perl, as I have never used it before. I used a lot of internet resources like these:
Introduction to Perl for Mac
Simple Perl String and Numeric Manipulation Handling
Parsing Text Files
Parsing HTML with HTML:Parser
Perl – StringsPerl – If Statement Syntax
Perl – For Loop Syntax
So far I have gotten my scripts to parse through the HTML to correctly retrieve 99% of the correct answers. Tomorrow I will begin work on the other 1% of those answers and matching them up by dollar value and category. After I do that and I have all the data it’s time to learn how to program games in C++ with graphics.