How to Make a Result Voting System (Again)

Yes, I know, I know, I am circling back to the previous subject to explore a closely related, relevant topic.

I am looking for guidance on how to implement an automated, majority-based voting mechanism for map selection.

If anyone can help, I’ll be pleased! Thank you. Also, while you’re explaining, can you be more enhanced in your guides/methods please? [1] Cause I am really bad at making smart systems.


  1. Maybe some pictures too? ↩︎

like a player votes and the counter with the most votes wins the vote?

Yes, (sorry for the hard words.)

1 Like

Again???
Guides:

Please search before you post

1 Like

Does those help @RiFF_NickZ or are you making this topic 1, you don’t understand 2, those don’t help

“Oh oh! Looks like they have no pictures! His dAd said. -__- :sob:

Just like what DUcky1 said. Voting system in among us - #12 by DUcky1 “They’re all bumped.”

To be clear:
How many voting options do you have? Is it fixed?

Read my topic header. The only complication I have is the result system where a specific map has the most votes, the devices runs it’s code/wires and selects it. :up_arrow:

So… a fixed number of options.
According to

, it seems like you have no problems.
Can you be clear?

Sorry, not “complications.” I need help, Potato, I just don’t know how to make a result voting system.

The other topics you gave me, won’t help because they have no pictures of little effort.

  1. there are lots of topics about this, just use your brain and figure out what you’re supposed to do without images
  2. we already explained this in your last topic, read through it again

No! Aren’t you listening? My last topic didn’t say the word, “Result” don’t you know what “RESULT” means? I want guidance on how to implement an automated, majority-based voting mechanism for map selection. Not voting ONCE, but different.

So… you want to vote on the results??? (keyword on not for)
Also, what do you mean by “different?” Can you clarify?

Automated map voting unilizes persistent player counters and block code logic to compare final, total vote counts, and ensuring the highest-voted map is selected rather then MERELY activated upon the first click.

Do you understand now?

  1. Yes I understand, it’s just like regular voting, right?
  2. That looks a lot like AI (but again, paraphrased)

Hi! To find out what I can do, say @discobot display help.

1 Like

I made something similar a while back.

Put the block in a trigger, and trigger the trigger when the vote is over.
Make a number property for each counter and have the counter update the property. Then, name each property accordingly.
You’d add another if block for each option that can be selected, and put in the same code, but with the name of the next option’s property.
You could also change the naming scheme if you wanted, having each property be named voteOption1, voteOption2 and so on. Then you’d have to change the 12 at the end of the block code to an 11. I have no idea what I was cooking with these property names.

Note that in this block code, ties are resolved by selecting whichever option is first. If you want me to add a better tiebreaker system, let me know!

2 Likes

Ah, i guess i didn’t provide enough info last time. I think more than one person has provided a working function, so I won’t waste time. Hope you find what you are looking for!

Summary

@Mr.GimXD I appreciate it, man. It means a lot that you think I should moderate. This forum needs some work. I’d happily help out. I think zappy and you would too.

2 Likes

Let me try that after school. Or maybe now.

1 Like