Setting up a quiz game

Is there an action or group of actions which would help me set up a type of quiz game? The quiz would consist of, say, 20 questions with multiple choice answers. When the visitor clicks on an answer he learns if he is right or wrong and his score is updated. Ideally, he gets a final “mark” after the last question. Any ideas?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

No Actions exist for this, as far as I know. It sounds like a cool
project, though. It would be a fair amount of work to set up, although
there are some libraries that could help you with the specifics.
There’s a set of functions in Prototype that allow you to get the
values of form fields in a very clean and cross-browser manner.

Walter

On Feb 17, 2009, at 7:38 AM, Rod Lord wrote:

Is there an action or group of actions which would help me set up a
type of quiz game?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks for the hints. If there are any other sites which might provide useful info I’d be interested to hear of them…


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Looking back over your question, I realize there’s one thing I forgot
to ask: do you want the data from the quiz to be saved anywhere that
you can access it? In many such systems that I’ve programmed, there’s
either a conditional logic (kind of like those multiple-ending books)
or a need to store the information given so that a sales person can
make an informed choice of whom to pester.

If this is a casual or “fun” thing, then there’s little reason to go
to the trouble of saving it on the server. You can usually make
something like this in JavaScript and it will all run on the browser
in one page-load. But if you want to do anything with the information
you’ve gathered from your game-player, then you must provide some way
to store that data on your server. And that means that you will be
moving to a server-side application server of one sort or another, and
some persistent storage like a database or the local equivalent. The
game itself may all run in the browser using JavaScript, but you’ve
got to be running a callback to store the results in the server, too.

Walter

On Feb 18, 2009, at 11:51 AM, Rod Lord wrote:

Thanks for the hints. If there are any other sites which might
provide useful info I’d be interested to hear of them…


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

It’s just a fun thing, though I hope useful in attracting people to the site. So I don’t think there’s any need to store the results. I don’t think the data would have any commercial value.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Prompted by your JavaScript reference I have found something called Quiz Engine at http://javascript.internet.com/miscellaneous/quiz-engine.html which looks as though it could do most of what I’m looking for. Thanks.

Rod.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Got me interested in this as we might be looking for a test/quiz maker for the web.

Came across this: http://www.solrobots.com/quizpress/index.html

Looks pretty easy to use. It looks like you would just set up a link in FW to the folder that contains the quiz parts.

Thought it might be another good option.

Bob


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks for the info re Quiz Press.

There’s also stuff at CGI Resource Index » Programs and Scripts » Perl » Survey and Voting

Rod.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

For future ref, quiz successfully set up using JavaScript obtained at http://javascript.internet.com/miscellaneous/quiz-engine.html. (There are at least 2 other quiz scripts at the same site.) Copy the 3 scripts quiz-engine, questions.js and the score page script (do the sample quiz and then go to Safari View > View Source). Create markup items on a quiz and a score page (Insert > Markup item) and paste the appropriate script into each. I wasn’t quite sure where to put questions.js so I pasted it into each of the other scripts in place of the external script reference “SRC=”. Double click on the markup items to edit the scripts and insert your own questions. That’s it! Result is at www.yachtpilot.net/quiz.html.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options