How do I make a simple Question and Answer game?

Get help using Construct 2

Post » Mon Oct 24, 2016 1:27 am

HI guys!
I am very new to this, and i want to make a small 10 question quiz game for some 9th graders, i want them to be able to play on facebook apps for bonus points towards their final grades =)

I have seen the
Trivia games and the multiple choice games, but thats not what i am looking for.
I Want to be able to make a new quiz each lesson plan, and follow the same two formats; simple questions, and bonus photo questions. instead of a 4 possible answers, i would rather have a text based answer. anything else but the correct answer would be wrong.

I am assuming it would be a database that can be updated weekly, like a simple PW login, they would need the correct answer to unlock the next question.

Does this seem feasible?



Daniel
B
3
Posts: 3
Reputation: 183

Post » Mon Oct 24, 2016 2:46 pm

It is very much feasible. You will just need to form your data structures appropriately.

You want to make it such that you can input quizzes by XML or JSON (I am partial for JSON, myself), then you can just input new JSON into the server each week. Like:

{
"quiz":
{
"questions":[
{
"questionId":1
"question":"What color is the sky?",
"answerKeyWords":["blue"],
},
{
"questionId":2
"question":"Choose the image that matches the Eiffel Tower?",
"answers":["../images/TajMahal.jpg","../images/AngorWat.jpg","../images/EiffelTower.jpg"],
},
{
"questionId":3
"question":"Name three countries on Europe.",
"answerkeyWords":["Germany","France",'United Kingdom","Belgium","Holland","Poland","Austria","Italy","Spain","Portugal","Montenegro","Moldova"],
}
}
}

Then you can do a comparison or contains character search to see if their input answer matches any of the key words.
https://www.ravenheart.ca/home
I don't check the forums much anymore, but I will receive an email for PMs.

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
23
S
6
G
1
Posts: 1,419
Reputation: 4,857

Post » Mon Oct 24, 2016 3:13 pm

This is exactly what i was looking for! Thank you!!
B
3
Posts: 3
Reputation: 183


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 10 guests