What are ways to design a good in-game quiz?

I have trouble googling how to design in-game quizzes right because it gives me quizzes I can take and other irrelevant results.

I am drawing on my real experiences with vetting within socialist groups where they literally have to screen every person to filter out infiltrators and also other people who won't fit into the group.
Basically there is a scene I want to write: my heroes need to infiltrate a part of town run by anarcho-communists, policed by paranoid militias (the irony is intentional). My heros get picked on for whatever reason and gets interrogated to see if they're a true believer or a spy. I can write a cutscene where the hero's response is automatic, but IMO it is more fun if the player can choose how to answer. The thing is that I am not entirely sure what makes or breaks in-game quizzes but I have some ideas but here's how I think this quiz should work:

First, the player will not be punished for any wrong answers no matter how badly they answer. They just get more or less drastic outcomes on an unrelated target. I'll explain in a later paragraph.

I plan to show a cutscene where an unrelated NPC is being interrogated in private but the player eavesdrop, and sees the quiz questions will be. This is so the "surprise" interrogation is not a surprise at all. The player will know they will eventually get interrogated to see if they are a real anarchist and not a poser. They can wander around town to find quiz answers. That way the quiz will not have to be a guessing game but can be a 'treasure hunting' game as well if the player chooses.

For each question, the hero can answer correctly, or give an incorrect answer according to any one of other rival ideologies. Answers belonging to a perspective will be scattered through the game world but I won't realistically find a place to sneak in those hints for every question.

When the player gets interrogated, the interrogators are actually spies from a faction rival to the hero's and it won't be obvious until later. These spies will get a surprise interrogation and will rely on the player's answers since they themselves don't know how to answer these questions.

If the spies get interrogated and the answers provided to the player score towards
  • Anarcho-communism (ancom) (i.e. answering interrogation questions correctly), the spies get a pass and infiltrates the commune without further trouble.
  • Anarcho-capitalist, the spies are assumed to be troublemakers from a nearby rival faction and is held hostage.
  • Marxism-Leninism (ML), the spies are assumed to be well-meaning and not fully integrated with the local culture. This is because the ancom commune is an enclave within a marxist-leninist socialist republic and ML views are the norm in-universe. They are sent to a classroom for 'reeducation'.
  • Liberalism, the spies are assumed to be foreign and are exiled.
  • Fascist, the spies are shot on the spot.
I may or may not add all these possible story branches. and might limit myself to three. I'm expecting the player who's set on answering questions correctly will answer correctly after exploring town. The next playthrough they might answer wrong just to spite these spies.

Am I missing anything?
So, the interrogators are fake interrogators, interrogating someone to learn how they should reply to questions made by true interrogators.
How the fake interrogators can decide if the reply is correct if they are learning that moment?
I mean, I will never trust someone by this circumstance. As the heroes can learn the replies (the "correct" ones, whatever that mean) the same can do the spies instead of doing such risky bet.
I find it a lil bit forced or contrived.
So, the interrogators are fake interrogators, interrogating someone to learn how they should reply to questions made by true interrogators.
How the fake interrogators can decide if the reply is correct if they are learning that moment?
I mean, I will never trust someone by this circumstance. As the heroes can learn the replies (the "correct" ones, whatever that mean) the same can do the spies instead of doing such risky bet.
I find it a lil bit forced or contrived.
I don't know how to respond. Do I come up with a justification or do I change the circumstances I described?

I've moved this thread to Game Ideas & Prototypes. Thank you.

@Pix3M : the way you described the scene hint me the spies behaviour is not the most logical.
The way characters can obtain informations (talking to people) is the same spies can use to get those same informations, instead of doing a formal interrogation to people that can deliberately lie - and apparently accepting anything told as the truth.

Not speaking the party can simply verify that such individuals doesn't belong to any official organization and can unmask them quite easily reporting to authorities.
If I was a spy, I'll simply ask people many times to cross check informations.

I understand such scene is very tense but to me sound the premise is logically wrong and I'll search other motivations to have an interrogation with some further plot twist.
@Dororo I'm asking if I'm supposed to add more premises to make the logic work, or I should scrap the idea entirely and be left with nothing. I have never dealt with this kind of criticism before and I don't know what to do, literally

EDIT: Actually I just had an idea, the spies shouldn't be pretending to be interrogators but are just pretending to be curious about the ideology just so they can fit in better. The player can play along or decline to answer.

My game is actually intending to be a satire so I could easily satirize the hivemind trope/meme that's used frequently to make fun of the political left. I could have the spies assume that communist ideology is a monolith so that cross-checking is not necessary. I don't know if this is enough to justify the spies failing to crosscheck player answers with answers from other NPC's
what you described sounds more like a who's line is it anyways skit then any kind of interrogation.
at best this scene could only be used for comic relief if the answers just dont matter.
these spies sound even more useless then team rocket.
"we questioned 17 villagers and a group of travelers. of those villagers 15 gave similar answers and 2 were complete drunkards, but lets go with the completely random travelers answers and forget everything we learned from the rest of the townspeople"
@Pix3M : Oh, well, that depend on your aptitude and how much you think I'm correct. You can easily say I'm stupid and continue the way it is.

Usually, when something alike happen in literacy, we strip out the last pages and start again with different premises.
So, probably, rewrite the whole "chapter" or just skip it.

Anyway, the idea of having the characters being questioned and by this the plot change IS good, so I'll probably include it somewhere, but in a different moment and with other premises/outcomes that will be more coherent.
@Pix3M, oh hahahahaha, sorry. I do not think it is a good idea to use real political idealogy because the players might have a different point of view from you. If you would like too, I am not going to stop you, but your game will get a mixed reaction.

The interrogated part of the plot is great for the cutscene like Dororo said.
@Kupotepo Where did I virtue signal?
If the spies get interrogated and the answers provided to the player score towards
  • Anarcho-communism (ancom) (i.e. answering interrogation questions correctly), the spies get a pass and infiltrates the commune without further trouble.
  • Anarcho-capitalist, the spies are assumed to be troublemakers from a nearby rival faction and is held hostage.
  • Marxism-Leninism (ML), the spies are assumed to be well-meaning and not fully integrated with the local culture. This is because the ancom commune is an enclave within a marxist-leninist socialist republic and ML views are the norm in-universe. They are sent to a classroom for 'reeducation'.
  • Liberalism, the spies are assumed to be foreign and are exiled.
  • Fascist, the spies are shot on the spot.
Maybe making the fantasy factions? I think it is a less direct impact.
How is that virtue signalling?
@Pix3M, nevermind, sorry. I withdrew the virtue-signaling comment. I read the definition and use it wrong.
@Pix3M, nevermind, sorry. I withdrew the virtue-signaling comment. I read the definition and use it wrong.
Apology accepted
I am well aware I'm juggling chainsaws by having a story with political overtones but it's kind of my choice. I'm also not going to refer to these factions by what ideology they follow, just figured it's easier than giving them a name when nobody here knows my setting
@Pix3M, so do plan to make the interrogation with the torture plots connect together? That would make the game became more thriller.

The professional spy will not give out the information easily. Also, the interrogator will not let the suspect spy go easy. The death note anime is a great example of a mind game.
Apology accepted
I am well aware I'm juggling chainsaws by having a story with political overtones but it's kind of my choice. I'm also not going to refer to these factions by what ideology they follow, just figured it's easier than giving them a name when nobody here knows my setting

never worry about your game idea, its your idea it may have bad reactions just as much as it may have GOOD reactions, and as far as politics go people love FF7 (including me) and it is literally rooted in political parallels such as embezzlement of oil (mako energy) terrorist groups with a cause (Avalanche), etc.

to be honest i didn't read your entire original post so i'm not sure what the obstacle in your in-game quiz 100% but i gathered that you wanted wrong answers not to impact the player, and something about fake interrogators or the like.

best answer i can give you is, inspiration wise you should look no further than persona series, especially 3, 4, or 5. i say that because during the course of your school days (did someone say "school days", ack! my acheing anime heart!) you go through classes where teachers rattle off random info and give 1 question for you to answer that you have almost 0 chance of getting right because its really a guess and if you get it right or wrong the teacher reveals the right answer. after about 3 or 4 in-game months of those class events you do "exams" and "finals" just like in real school and these exams are about 5-8 of those questions you dealt with previously so you have almost like a second chance to get these questions right during the exams where it matters (well not really, if you pass exams your at the top of class some nice stat boosts to you intelligence, if you fail you just get a cutscene where your at the bottom of your class and students make fun of how dumb you are).

long story short, you could have situation where your player is fed 1 question at a time in various places, if they get it right or wrong the one asking the question reveals the right answer anyway. then after a few events like that when your player reaches the interrogators who do the actual in game quiz they'll quiz the player on those previous 3-4 questions where the player has to rely on their personal memory. while getting the questions wrong won't penalize the player they may get different reactions and overall outcome.

all you would need are "show choices", "variables" and "conditional branch" commands to make that all happen.

Original thread: https://forums.rpgmakerweb.com/threads/what-are-ways-to-design-a-good-in-game-quiz.128169/