Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Picking a "God" player #12

Open
NSC508 opened this issue Jul 20, 2020 · 2 comments
Open

Picking a "God" player #12

NSC508 opened this issue Jul 20, 2020 · 2 comments

Comments

@NSC508
Copy link
Member

NSC508 commented Jul 20, 2020

No description provided.

@NSC508 NSC508 added this to the M01: First Prototype milestone Jul 20, 2020
@NSC508
Copy link
Member Author

NSC508 commented Jul 20, 2020

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.

@NSC508
Copy link
Member Author

NSC508 commented Jul 20, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant