Hi All!
I was hoping to get some more expert feedback on what I'm trying to accomplish.
I'm trying to set up a "quiz show" mechanic and I have a set of four answers to choose from on each question.
What's the most efficient way to set up an FSM that randomly assigns the set of four answers in a different/random order each time? (More specifically, four different UI buttons.)
For example, "Button A" might say "Red" but the next time you encounter this question "Button A" will have the choice of "Blue". (But ultimately, always the same four answers in each set.)
My brain immediately went to creating all 24 unique possible answer combinations as individual states, but I realize that can't be the most ideal way.
I know the answer has something to do with arrays but I can't figure out how to handle the "assign all four of these items randomly, with no duplicates" part.
Thank you in advance for any help!