Help RMMV Mini-game

Hi guys i am totally new on game developing and currently developing my first RPG game its actually my thesis and i want to create an NPC that is giving this random question and then the player and probably his friend can answer the quest separately like a turn based question and answer


NPC : what is the first color of the rainbow


Player 1: *input* red


NPC : correct *outputs another question* then the next player answers


Player 2: *answers*


question how can i record all the correct input separately? i want in the end to have a winner is this possible ? i would want to play this in 1 android device only
I'd use a variable. What I would do is assign a number to each answer, and store the answer for each question in a variable. Then, when it is done, compare the value in each variable (for each question) with the correct answer. Will be long, but doable, as long as you don't have more questions than variables in the engine/2 (as  you'll need one for each player).
@ChristmaStime123...


Are you planning to use multiple-choice answers, or free text entry..? The former is much easier to manage, one only has to compare the chosen answer with the correct one, and increment a counter for the Player if they're the same. Free text is much more difficult to compare. What system are you thinking of adopting..?
I'd use a variable. What I would do is assign a number to each answer, and store the answer for each question in a variable. Then, when it is done, compare the value in each variable (for each question) with the correct answer. Will be long, but doable, as long as you don't have more questions than variables in the engine/2 (as  you'll need one for each player).

thank you i used a plugin by darkkiten and what it is basicaly i lets you input a text in a common event or in my case after a question has been asked and this is what im missing thankyou!

Original thread: https://forums.rpgmakerweb.com/threads/help-rmmv-mini-game.70739/