Educational game: random multiples with changing difficulty

Hi there!


I'm working on a educational game with math multiples (I'm from the Netherlands, don't know for sure how you say in English. So, my apoligies for my English mistakes). 


My aim


I want my students to learn multiples from 2-10 (2, 3, 4 - 10 etc.). I want some events where multiples are asked random, but when they answered several multiples of one number in the right way, it should't be asked as frequently as other multiples.  


As an example:


A student has made several questions and showed that he mastered the multiples of 4. Now multiples of 4 most still be asked (to learn by repeating), but not as frequently as all the other multiples.


My question:


Does anybody no how to accomplish a random question-event where the game 'remembers' the number of right/wrong answered questions of the different multiples, so the student will be more confronted with multiples they don't know then multiples they already mastered?


My (part of the) solution


I think I have to create variables for every multiple and set a counter. If a question has been answered wrong: +1. If a question has been answered right: -1 (not lower than 0)


There should be some kind of percentage for every multiple-variable: so that multiple-variables with a lot of ´counters´ should be asked more frequently than multiple-variables with less counters.


Is this the best way to accomplish my aim? Or does anyone have other solutions??


Thanks a lot!


Looking forward to hear from you and to move on with my edu-game!! 🙂


Greetz,


Pieter
Hello!


I am so thrilled I find another teacher around.


So I believe you got this right. You need variables.


You can set a variable called Status. This will represent the current status of a student


It starts with the value of 2.


If the student replies correct on 10 consequent questions right, ten is an example, set it as much as you like, Status become 3 and so on.


We will come back to Status.


You now set two more variables.


OperandB and OperandA


Operand B always is a random between 2 and 9 (I suppose 1 and 0 make no much sense but you can make it random between 0 and 9 if you want)


Operand A can be set as a random between Status and 9. See? A vairable to set the boundaries between two values.


Not sure for MV, but in Ace you can NOT do that directly using eventing set variables.


A vairable to set the boundaries between two values CAN be set though using another way.


You can make a Conditional Branch that checks Status variable.


So


IF the Status is 2


OperandA will be a random value  between 2 and 2 (you can set it to 2 directly this time, it makes no sense using random here)


IF the Status is 3


Operand A will be set to be a random value between 2 and 3 (50% chance)


IF the Status is 4


Operand A will be set to be a random value between 2, 3 and 4 (with 1/3 chance each)


So THIS part is solved.


How about the part that 4 has more chance to occur than 3 or 2?


Well that's the most complicated part.


In each case you can create another case of randomness.


Meaning in each conditional branch, you have to nest another conditional branch to do that.


I will take Status 3 to show you as example.


We need OperandA to be 2 with 75% chance and 25% to become 2. Just for the example.


IF the Status is 3


Set value of a variable named Weight to a random between 1 and 100.


If Weight >= 75 Then


OperandA = 3


Else


OperandB =2


End if.


Well... good luck doing weight for all operands. 😛

Original thread: https://forums.rpgmakerweb.com/threads/educational-game-random-multiples-with-changing-difficulty.66605/