quiz framework.

Community Forums/Showcase/quiz framework.

mtnhome3d(Posted 2008) [#1]
heres a really simple quiz game frame work i banged up in a few mins. i thought i might post it here for everyone to enjoy/modify/improve. any way here it is


you need a .txt file with info in the folowing order
[line1] number of questions total;needed only once
[line2]the question text
[lines3-5]answer text
[line6] answer number 1-4
[line7] and image path(e.g. im1.jpg)
repeat line2-7 for each question
have fun.

[edit] heres a sample quiz text.
2;the number of questions
question 1. what is my name?
1. bob
2. frank
3. ike
4. mayaman101
4;answer number
im1.jpg;image path
question 2. where is this posted?
1. yahoo
2. BRL forums
3. nerd.com
4. jqebef;v;eiwovioewbioeb
2
im2.jpg
please note the comments will show up so remove them from the text file.


Miss Blitz(Posted 2008) [#2]
Oh , So cute! A neat way to learn how to feed data to
a program through a text file, too!

God Bless,
Miss Blitz