•  mub   ( @mub@lemmy.ml ) 
    link
    fedilink
    26 months ago

    Could you do it in 2 phases? First, everyone selects a random partner and exchanges their random number. Each pair then has a result that is locked in. Then everyone submits their result to be summed up as already suggested (Pos/neg = heads/tails).

    If there are an uneven number of players, then one player makes a three-some.

    • I think you run into other issues, depending on OP’s meaning of “untrusted.” If people are paired off, whoever is in the last group to report can control the outcome. Either if there is a risk of collusion within the group or if one member doesn’t like what the outcome is going to be they can claim whichever of them is reporting the group outcome is lying, or the person reporting actuality could lie.

      I think this vulnerability will come up most of the time when information is shared with only part of the group and not the entire group.

      •  mub   ( @mub@lemmy.ml ) 
        link
        fedilink
        16 months ago

        The risk of a pair collision should be mitigated by all pairings being random. And both pairs announce they pair with so that they can’t lie.

        But collusion is possible if they happen to pair with another cheater which is not guaranteed unless every is a cheater.

        • How do you do fair random pairing, though? If you are able to safely do that randomly, you might as well use that same method to do the random flip.

          Edit: And even ignoring collusion, there’s still the issue of lying (or lying about lying). Only one of a pair would need to be a cheater for the system to fail, if the rest of the group is unable to determine which is the cheater.

          •  mub   ( @mub@lemmy.ml ) 
            link
            fedilink
            16 months ago

            Any solution we come up with can probably be used to just decide the answer anyway.

            How about, every player puts in a token to say I’m going to play. Then every player plays an encrypted answer. Once every player has answered they each reveal the key to unlock their answer to every player. Everyone then sees the overall answer at the same time.