answer question, get reward, tally reward, keep running tot

GaryWilliams
04 May 2007, 01:11
I'm an education trying to create games for my students. I have built room with object, added pictures and sound files.

Now I want to question the students about the facts than they have read. I don't know the logic behind or a method to do this. They will have to ask for something (gold) then I will respond with a question. If they get the question correct I'll give them gold, if their answer is incorrect I need to put them back in the room where they can re-read the facts. Also, if they get gold I need to keep a running total. So, building the game has been easy, but I've hit a wall. Thank You Gary

007bond
04 May 2007, 10:01
The gold can easily be achieved by using Status Variables.
You can find them under Game, Status Variables. Once you've created it, just treat it like a normal variable. The only difference is is that it will always be displayed in the pane on the right side of the game window.

paul_one
04 May 2007, 10:12
You're asking a question.. Is this multiple choice? Is it true/false? Is it a number (ie mathematical) or is it a full-text answer?

Also, they are in a room with facts.. Does this mean they leave the room to answer the question?

You'll probably be using QDK...
Does anyone want to answer this?

007bond
04 May 2007, 10:44
I agree with Tr0n. We need more information about the questions you're asking.

GaryWilliams
04 May 2007, 11:44
The question will be multiple choice and/or true/false. Also, they will be in the room when they answer the question. The students will go through the adventure, reading facts and answering questions as they go. Questions will not have to be related to that room but most of the time they will be. If the question is not related to that room and they get the wrong answer I want to transport them back to the room to re-read the facts. Thank for your help, as you can see "I don't know, what I don't know" lol Gary

paul_one
04 May 2007, 12:06
I might create a simple example after work tonight..
If someone want's to step in, that's fine..

GaryWilliams
04 May 2007, 20:53
I got the status variables in for gold, silver, bronze, & salt. It's no problem after you told me where to look. Now, just get some multiply choice questions in and some ture/false question, and add the value to their score (status variable) and I'll be set. Thanks Gary

GaryWilliams
06 May 2007, 21:49
Tr0n, I'm making progress, Would I tread the questions as an objects? I think the player would type "Quest 1 Gold" and then the reply would be the question. If the player typed "Quest 2 Gold" then a different question would appear. The number would be the question number as well as the value that would be added to his status variable for the items. I have added "Quest" as a verb.

Also, if I'm on the complete wrong track can I zip this entire project and email to someone who can take a look at it for me?

Gary Williams

007bond
07 May 2007, 21:49
You're sort of getting there.
I would treat each piece of information (however you want to portray it: artifact, painting, piece of paper, that kind of thing) as a separate object in the room. For each object, put the information you want them to read in the look command of the object, making it easy for them to find the information.
When the player is ready to answer the set questions for the room, have them type in a command, say for example "ready".
When this command is executed by the player, run a script that will run through all the questions.

GaryWilliams
08 May 2007, 01:22
Thanks for the idea. I can get Yes/No questions by using Verbs, Script Editor, Add Conditional. Yes, I'm having the students Look At Objects to read facts, then Quest (a added verb) for 1 gold or 2 gold etc., which are hidden objects in the room. The "conditional" lets the variable be increased or decreased. Your idea of have the type "Ready" and have several questions listed and scored is beyond me at this time. I'll keep working. Thank For Your Help

007bond
08 May 2007, 06:57
all you need to do is add a custom command for the room titled "ready".
Then program a script for that custom command

paul_one
08 May 2007, 23:09
What you're asking for is kind of weird..

Is it in two parts?
The story part, and then the questions...

Or is it more in small bits?
Some story, question, some more story, question, even more story, question.

If the first, that's more difficult..
If the second, then it's a bit easier and the person doesn't have to go through the whole story again if the first question's wrong.

As you've said objects are pretty easy to handle, yes - I think you're heading in a good direction there..
Perhaps there is a single "question master" as a person?

I'll try and hook a little demo of the nicer one up tomorrow..
Sorry, but I've been a bit distracted lately with everything in my life.

GaryWilliams
09 May 2007, 01:09
It will be in small parts, the gamer will enter a room, read the text, look at the objects, and then obtain gold by answering questions. Now I'm having them "Quest for Gold" and a question appears.



The Question Master is a good idea, how do you make a person, is that a object with male or female characteristics?


Thanks for your help

Gary