I know that when allowing the game to choose a random number, under certain circumstances, you need to add one more number, but I don't know when to do that and I think it's messing with my game.
Example: Set variable: gameLayout to floor(random(1,10))
If I have 10 layouts and the variable chosen dictates the layout played, do I need to make the number in the parenthesis 1,10 or 1,11?
When do I need to make it 1 more and when do I need to make it the correct amount?
Thank you.