When the user does X in this game, we count Y of the player (Y = random number)
Y is stored in a variable, e.g. it can store as this: 10, 15, 20 and so on.
I want to get all of the datas from this variable but since when it increases, it will store max 2 numbers (e.g. 50) at the time, I would want to store 10, 15, 20 separated in each variable so I can use them in next X.
So how would I cache Y in each variables? Is it possible to loop with for ( loop ) and loop all those Y numbers, and by that they're all cached? I'm not into for loops and therefore it's a question too. Thanks.. probably hard to understand, but ask if you cannot.