|
Some lazy person said they wanted a quizbot to liven up their days doing
nothing at work. Since I have this nice bot which makes more bots easy to
develop I decided to see if it was going to be difficult or not.
After a few hours I knew it wasn't going to be difficult and the next day I
had a little quiz with myself with really odd questions I'd pulled from the
air and didn't make any sense.
In the search for real questions I found moxquizz (an IRC quizbot) and found
that the question data was in a nice simple format which I could convert
without much hassle. (dalnet1.txt, trivia1.txt and trivia2.txt are all from
moxquizz)
The question format is very simple. Line n+0 is the question, line n+1 are
the possible answers separated with |s (bars) with a maximum of ten possible
answers. Unlike moxquizz you can't use regular expressions but mod_quizbot
does help a little by stripping all punctuation from the guesses before
comparing.
|