Voting System

Hopefully I understand what you are trying to build. I think I do!

You can do it ‘simple’ with random generator.

You can also use ‘shuffle’ function inside your verse device. I think you have an array with the 9 different minigames. You can shuffle the array and then in your ‘make canvas’ function or whatever you have, then you can show only 3 of the shuffled arrays.

If you have your minigames in an array called ‘VotingCandidates’:
Then you can shuffle the VotingCandidates like this: ShuffledCandidates := Shuffle(VotingCandidates).
Then in the function where you show the candidates to the player, then use ‘Shuffledcandidates’.
You need to make more changes than I mentioned. You also need to change how the votes are counted sort of.

Hope this makes sense! Otherwise let me know. I think this is a good way of creating the Voting UI, and gives you a good understanding of Verse :smile:

1 Like