Open NSC508 opened 4 years ago
If there were a way of us to keep track of each player as a number (if Roblox were to keep track of each player and say which order they joined in (player XYZ joined first, so their player number is 1), we can keep track of everything inside of a dynamic list and move around the order. For instance, first index would have the player number of the person that has the least appearances as god, and after they have become god, they get moved to the end of the list. That way, it is constant time to figure out who becomes God. When a person leaves, their place will get removed in the array. This may also help with player retention, since people who join earlier will get the chance to play as God first.
Just doing some thinking, but perhaps we can utilize the in-built Roblox stats tracker to see how many times someone has been a God. Kind of like how Phantom Forces for instance will tell you your Kills/Death/Assists when you press tab. We can have a field that says how many times a person has been a god. Perhaps store it in a map as well, and then store how many times that person has been a god. Then, a simple linear search will do the trick to select the person with the least amount of God time.