• ThatGuy46475@lemmy.world
    link
    fedilink
    arrow-up
    10
    ·
    14 hours ago

    Now let’s make it a little harder. You have three guards: one tells the truth, one lies, one answers randomly. The guards understand you, but only answer either “da” or “ja”. One means yes, one means no, but you don’t know which is which. You get to ask each guard one question.

    • Buddahriffic@lemmy.world
      link
      fedilink
      arrow-up
      7
      ·
      12 hours ago

      Give them a paradox by encoding the other two’s potential responses into the question (similarly to the two guard solution, but this time the random response is included). If they are able to answer, then you asked the random one, because the liar and truth teller have no idea what the random one would answer so can’t answer only yes or no without potentially violating their truthiness rule.

      This isn’t to solve the puzzle but to see what the other two would do in that situation. If I figured out the random one with the first question, I’d use the 2nd to ask the same thing of one of the others. Then, if it’s still 2 doors, the two guard solution will work on the last one to figure it out.

      But if the first guard asked explodes or something when asked, I think that there wouldn’t be enough questions left to find both the random guard (which I believe you have to do first) and the door. Though if you change the question to only ask about one other’s answer instead of both, you’ll be able to find both the random guard and the safe door.

      Though hopefully the whole setup isn’t a lie and everyone present is a strategic liar that wants you dead. Imagine doing one of those riddles and when you step through the door you notice both doors lead into the same room whose walls now seem to be closing in and the last thing you hear is one of the guards asking another why riddles seem to get people to let their guard down anyways.

    • Buddahriffic@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      12 hours ago

      That last question is ambiguous enough (in this specific scenario) that either answer would work. It’s both true that the other guard can’t tell her something happened (due to being dead), while the other guard would have said that something did happen if he had been able to. So it’s a meaningless question but the wife doesn’t know that since she doesn’t know the guard is dead.

      Which just adds another layer to the joke lol.

  • ArmchairAce1944@discuss.online
    link
    fedilink
    arrow-up
    49
    ·
    edit-2
    15 hours ago

    That’s funny! but if you want to know how to solve this problem every time, even when asking one single question, just ask this question:

    “If I ask the other guy which is the correct path, which path will he tell me?”

    No matter who you ask, both of them will point to the WRONG path, meaning the correct one is the one they DIDN’T point to. Here is the logic.

    For the sake of argument, let’s assume the correct path is the right path. When you ask that question, if the person is the truthful one, he will be honest and say the left path. Because if you ask the liar what the correct path is, he will say it is the left path (which is false). Now if you ask the liar what the other guy will say the correct path is, he will lie to you and say it is the left path (which is also false, the truthful one will tell you it is the right path and not the left).

    • Nalivai@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      4 hours ago

      “I have no idea what the other guy would say, we’re honest-lier pair of guards, not reading each other fucking thoughts pair of guards”

      • howrar@lemmy.ca
        link
        fedilink
        arrow-up
        1
        ·
        3 hours ago

        Truth teller: “He’ll point you towards the door that leads to certain death”

    • lightsblinken@lemmy.world
      link
      fedilink
      arrow-up
      27
      ·
      1 day ago

      and also, using “correct path” instead of “right path” will be less confuzzling because english words can have multiple meanings and are the dumb.

        • thedirtyknapkin@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          15 hours ago

          yeah, it could be the liar guard’s desire or prime directive to send you down the deadly path. to him that could be interpretated as the correct path. especially if these are automatons working off of some machine logic. like, they don’t even need to be out to get you, that’s totally something that bad code could do on accident.

        • cdf12345@lemmy.zip
          link
          fedilink
          arrow-up
          1
          ·
          14 hours ago

          What is the quest was to die asap. And everyone the party meets just refused to kill them?

  • socsa@piefed.social
    link
    fedilink
    English
    arrow-up
    66
    ·
    1 day ago

    This still doesn’t accomplish the goal of knowing which door will kill you. All you’ve done is determine which guard is the liar.

      • mic_check_one_two@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        24
        ·
        1 day ago

        I love playing low Intelligence high Wisdom characters. Because Wisdom governs stats like Perception, Insight, and Animal Handling. So your character will notice things that the rest of the party misses, but often doesn’t have the intelligence to put the individual pieces together.

        Once played a high wisdom barbarian. He would notice things like traps or clues, but I would RP it with things like “Hey, why’s that wire stretched across the path? Someone is going to trip over that…” The other players very quickly learned to pay attention whenever I asked stupid questions, because it was usually my way of announcing “I noticed something that the rest of you missed.”

        • orgrinrt@lemmy.world
          link
          fedilink
          arrow-up
          7
          ·
          edit-2
          1 day ago

          I wish our DM had real-life message to telepathically convey stuff to just one person.

          In my group there would be literal zero chance of the others not listening to me if I ever threw a “hmm why is that wire there”, because they would’ve heard the dm either tell me due to passive perception or had me throw a roll and then tell me. So they know it’s a trap no matter if I want to rp it. Every time I get frustrated and question it, there’s this one guy who always has the reasoning and justifying at hand why they would know to do the right thing and to be fair they kind of make sense always, but there’s zero chance he’d come up with that just by my rp line alone without knowing for a fact it’s a trap.

          I think that’s the worst kind of meta gaming. They are fully blind to the meta gaming there and just do it by instinct. And when you try and question, they always have a defense ready, even if it’s so wildly specific and unlikely but you can’t really fault it because they’re not stupid, the justifications hold, it’s just that the only way they habitually generate them is because they know what I know despite they couldn’t in-game know.

          Like I’ve occasionally just left the thing unsaid in-game out of frustration and just reason to DM that there’s so much going on, my focus instantly switched to another thing and I forgot because I’m not very smart. So we all know there’s a trap but now nobody has told this to the others.

          What do they do? The one guy fucking always comes up with some shit like “hmmm be wary, they must’ve laid traps here, hey you with good investigation, please look around and see if there’s one in this specific place for some reason” and the rolls of course often succeed because they always choose to best one to solve that.

          But from rp perspective, we’ve walked this path for a while, and this thought only came up now, that it might be trapped? Just right now when you know, outside of the game, that there’s a trap?

          I call bullshit and it frustrates me so much, there’s very little chance of anything interesting ever happening in-game because we seldom miss anything or do the wrong things, because “somehow” we always happen to do the right things no matter who notices things in-game or rolls or whatever, no matter how much any of us attempt to rp it, somebody just meta games it without it being explicitly or admittedly meta gaming and gets all defensive when questioned and because they now know everything, can figure out an explanation the DM can do nothing but accept because it makes sense, now that they know to pull the right shit out their ass.

          Ugh. It’s not even a big deal, our group is fun and the adventuring isn’t bad, these things don’t happen often enough for it to really affect things, but god do I hate it. This ended up being a rant, I didn’t even know how much I get frustrated with it until I just now read this back. Jesus…

          • Buddahriffic@lemmy.world
            link
            fedilink
            arrow-up
            5
            ·
            11 hours ago

            Yeah, I agree that having a secret communication channel between the DM and players is good because it goes deeper than just meta gaming: there’s also meta meta gaming.

            As in you hear a piece of information that your character would have no way of knowing and this piece of information makes the correct tactical option obvious. It might not have been as obvious before, but now that you know, you can’t unknow it (at least not without an even more severe disruption to the game). So does that mean you can’t pick that now obvious option to avoid meta gaming? What if your character probably would have chosen that option anyways? Same thing for trying to do something that would reveal that information to your character, would your character have done it without the information? Should you just pick a bad option now because any good option is meta gaming?

            I don’t think there is a good solution once anyone knows about the information. Hell, even your barbarian’s decision to not say anything could be considered meta gaming because you were doing it in response to how the other players were acting and justified it afterwards just like they are doing. Avoiding the meta gaming option is still meta gaming, it’s just from a place of not being able to help but meta game.

            It’s like playtesting magic decks against another one of your decks alone. Sure, you can see some things like how well the mana ramp works, how big of a threat you can get on the board relative to your opponents, but when it comes to interactions, you know exactly what spells you should counter or ignore, what might happen if you choose to block or let an attack through. There’s no tactical surprise or bluffing, which can both play a big role in the game.

            When I DMed, I liked to have some rolls from the players ready ahead of time, because I found even “roll a spot/listen check” gave away too much information on its own. Pass or fail, it was a signal to start doing some active searching because there’s something of interest in the vicinity. So instead I’d just use the early rolls and cross them off my list as the players made passive sensory checks and only mention anything if the roll was high enough.

            Then notes can be passed with the information to those who know it, plus extra nothing notes sent from time to time, maybe with a promised reward if they don’t say it’s a nothing note so the meta gaming that results just wastes time and discourages people just reacting to notes.

          • Buddahriffic@lemmy.world
            link
            fedilink
            arrow-up
            3
            ·
            11 hours ago

            (Split it up into another comment since it’s a different idea).

            Another thing that DMs can do is punish meta gaming with things that go against expectations. Like maybe some secret doors are actually the release mechanism for some damgerous monsters that act as security when someone sounds an intruder alert. Or the listen check is to see if you can hear the siren’s song in the distance as you pass a nesting area.

            Maybe the pressure plate is connected to a power source and system to bring the facility the players just entered online, turning on lights and opening doors that are otherwise locked when it’s in mothball mode because the wizards who built it assumed the secret entrance would provide enough security. So while it looks like a trap, it’s just some home automation that would make everything easier. Then if they skip the “trap”, gotta have a scene where they return with someone else who does step on it to leave them wondering if they made a mistake or if they did it the more interesting way.

            I need to find a group one of these days, it’s been too long since I’ve played a tabletop RPG and I was a naive power gamer when I last did, so I’m curious about playing a game without min/maxing.

            Though the best game I’ve played was with a friend who wanted epic shit like in Devil May Cry. There were no real rules, there were rolls but pass or fail was more of a vibe check than anything specific because the more you described a cool action in detail, the more likely it was to succeed. It was pretty awesome and fun.

            For context, DMC features epic scenes like a man-sized entity fighting and beating a skyscraper-sized titan, blocking bullets with swords, and I can’t remember if this is actually in one of the games but even if it isn’t, it kinda shows the level they are on, but I think there’s even at least one scene where a character uses bullets as stepping stones to get within sword range of someone firing down on him from high up.

    • Mycatiskai@lemmy.ca
      link
      fedilink
      arrow-up
      6
      ·
      1 day ago

      That is why it is better for the barbarian to snap the wrist of the one guard, so that you can ask them a question still or you ask the first guard which way to the castle then rip his head off followed by asking the second guard if the first guard is dead. You will get the question from each guard and know which one tells the truth.

        • entropicdrift@lemmy.sdf.org
          link
          fedilink
          arrow-up
          12
          ·
          1 day ago

          It is solvable. You ask one guard at random, “Which door would the other guard have said leads to certain doom if I had asked them?”

          And no matter which guard you ask, go through the door they answer with. If it was the truth teller guard, they’ll tell you which door the liar would have said, and if it’s the liar they’ll lie about which door the truth teller would have said.

          • BigAssFan@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            12 hours ago

            Yes, you’re right. I was thinking he could lie both about what the other guard would have said as well as what door leads to doom, but the other guard can only give one truthful answer.

    • Jax@sh.itjust.works
      link
      fedilink
      arrow-up
      11
      ·
      edit-2
      1 day ago

      So you ask them which way leads to the castle and you don’t pick the way they say.

      If we’re assuming that these things are actually bound by some kind of rule stating they literally cannot lie or literally cannot tell the truth.

          • ztpq@slrpnk.net
            link
            fedilink
            arrow-up
            15
            ·
            edit-2
            1 day ago

            The riddle only makes sense as such with one question in total.

            The trick is to ask one guard what the other guard would say is behind a particular door.

            • chuckleslord@lemmy.world
              link
              fedilink
              arrow-up
              10
              ·
              1 day ago

              The riddle is worded vaguely and we just murdered one of the guys. I think we can lawyer another question out of them.

  • Red_October@piefed.world
    link
    fedilink
    English
    arrow-up
    189
    ·
    2 days ago

    I mean, the Barbarian asked the one question and didn’t gain anything from it. Knowing which one is the liar doesn’t… help anymore.

    • ChicoSuave@lemmy.world
      link
      fedilink
      arrow-up
      94
      ·
      1 day ago

      That’s why this is a brilliantly played barbarian. They think they are clever but will still have to do things the hard way.

    • FerretyFever0@fedia.io
      link
      fedilink
      arrow-up
      48
      ·
      2 days ago

      Ah. Normally I see this with no limit on questions. You’re right. It’d only work with at least two questions.

      • agamemnonymous@sh.itjust.works
        link
        fedilink
        arrow-up
        85
        ·
        1 day ago

        I’ve only heard it with one question, that’s the whole point. Otherwise you just ask a guard some trivial question (e.g. What color is the sky?) to determine which is the liar, then just ask which is the safe door.

        The whole point is to get the information you need from a single question.

        • Xylight@lemdro.id
          link
          fedilink
          English
          arrow-up
          6
          ·
          edit-2
          10 hours ago

          “What would the result be of combining the following terms with “and”: the direction of the correct door, and the color of the sky?”

          edit: im stupid

          • Buddahriffic@lemmy.world
            link
            fedilink
            arrow-up
            3
            ·
            10 hours ago

            Careful with that because “the wrong direction and blue” would still be a lie. So would “the correct direction and fluorescent yellow”.

            And it has a bunch of assumptions about the sky and their perception and knowledge of it built in.

            • Xylight@lemdro.id
              link
              fedilink
              English
              arrow-up
              4
              ·
              10 hours ago

              The scenario usually says that “one only tells the truth” and “one only tells lies”. at this point it becomes a question of whether a truth and lie in one sentence is considered impossible

              • Buddahriffic@lemmy.world
                link
                fedilink
                arrow-up
                4
                ·
                9 hours ago

                Yeah, it’s impossible to say one way or the other because the setup is underdefined and leaves a lot of room for ambiguity or loopholes.

                On that note, don’t beat yourself up or consider yourself stupid because of that. Even though it’s questionable whether it would work or give them room to screw you, I think it was a good creative solution to the riddle that I’ve never seen before. If you came up with that on your own, I’d consider that a sign of good potential. Nurture and refine that, don’t try to beat it down to avoid being wrong ever. (Haha I really hope you’re not like 50 or that might come off as really condescending rather than encouraging).

                Like, thinking about it more, I think it can be resolved by changing the “and” to an “or”, at least on the lying side. Though that would open up the truth side to be able to sneak in a lie while technically telling the truth. But there might be another adjustment that would close the loophole entirely and give a solution that doesn’t require a reference to the other guard’s answer.

      • turdcollector69@lemmy.world
        link
        fedilink
        arrow-up
        6
        ·
        1 day ago

        You can ask both guards if an item is an item. “Does this cup contain fluid” would work, it doesn’t have to be a dead guy.

    • Seasoned_Greetings@sh.itjust.works
      link
      fedilink
      arrow-up
      12
      ·
      1 day ago

      That assumes the other guy holds to his principles in the face of death. If I were the dm, the act of tearing the other guy’s head off and then threatening to do the same to the other one unless granted another question would at least grant advantage on an intimidation check

  • Triumph@fedia.io
    link
    fedilink
    arrow-up
    115
    ·
    2 days ago

    Ask either guard: “If I asked the other guard which door led to the castle, what would they say?” The answer is always the door that leads to instant death; enter the other door.

  • themeatbridge@lemmy.world
    link
    fedilink
    arrow-up
    67
    ·
    edit-2
    2 days ago

    For years, I had my own headcanon for the Labyrinth movie. In the scene, the young Sarah correctly solves the riddle, passes through the correct door, says “This is a piece of cake!” and then she immediately falls down a pit of doom. This confused me, because she got the answer right. So I reasoned that the guards were both liars, and because they both participated in explaining the rules, they were lying about the rules.

    It was only a few years ago that I read in an interview that the Labyrinth (or Jareth) dropped her down the hole because she said it was a piece of cake. It was her arrogance that set her back, not that she got the riddle wrong.

    But now it still bothers me that the liar, whichever one he is, helps explain the rules of the scenario. If he always lies, then she can’t trust that either of them ever tells the truth. The rules have to be described separately, like on a sign or by a disinterested third party. Or you could phrase it differently, like “One of us will answer your question truthfully, and one of us will answer your question dishonestly.” That way you avoid saying that they always lie, and specify that the lie will only be in response to the one question.

    Fuck, I’ve had too much coffee. How the fuck did I get up on this soapbox? Why are you still reading? Go do something productive.

  • yermaw@sh.itjust.works
    link
    fedilink
    arrow-up
    33
    ·
    1 day ago

    I got an unexpected laugh from Rick and Mortys take on this. His answer was “you ever fuck this guys wife?” And watched them fight to the death.

  • HexesofVexes@lemmy.world
    link
    fedilink
    arrow-up
    20
    ·
    1 day ago

    So the traditional answer here is to ask them to point at the door the other guard will say is safe.

    However, I’m curious, does anyone know of any other valid solutions?

    • EntirelyUnlovable@lemmy.world
      link
      fedilink
      arrow-up
      33
      ·
      1 day ago

      “Is the guard that tells the truth standing in front of the safe door?” If they say yes, you go through their door, if they say no then you go to the other one

        • entropicdrift@lemmy.sdf.org
          link
          fedilink
          arrow-up
          6
          ·
          edit-2
          1 day ago

          Right, in which case the door they’re in front of is the safe door because they lied and said “Yes” when asked if the truth teller is in front of the safe door. And if they tell the truth and say yes, they’re still the person in front of the safe door. By asking it that way they make it so it doesn’t matter if they’re the liar or not. “Yes” means that person’s door is safe and “No” means you want the other door, no matter who you ask.

          • BigAssFan@lemmy.world
            link
            fedilink
            arrow-up
            3
            ·
            12 hours ago

            I was thinking: he could lie about the guard but not about the safe door, so he would still be lying. But that’s technically a half-truth, which this particular guard isn’t capable of. So you’re absolutely right, thank you.

    • Cargon@lemmy.ml
      link
      fedilink
      arrow-up
      5
      ·
      1 day ago

      Could probably do something clever with XOR.

      Is exactly one of the following statements true? You are the liar. Your door is the safe door.

      • zarkony@lemmy.zip
        link
        fedilink
        English
        arrow-up
        11
        ·
        1 day ago

        They will both point to the bad door.

        If asking the thruthful guard, he will point to the door the liar says is safe, which would be the bad door. If asking the liar, he would consider what the thruthful guard says is safe, then reverse that answer, still ending up on the bad door.

        They cancel out, so whichever guard you ask doesn’t matter.

      • MajorasTerribleFate@lemmy.zip
        link
        fedilink
        arrow-up
        8
        ·
        edit-2
        1 day ago

        The liar, knowing the truth-teller will point to the good door, points to the bad door.

        The truth-teller, knowing the liar would point to the bad door, points to the bad door.

        Either way, you take the one your guard doesn’t point to.

          • Buddahriffic@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            8 hours ago

            The answer is stable because the liar will always say the bad door is safe and the truth teller will always say the safe door is safe, therefore the liar will always say that the truth teller will direct you to the danger door and the truth teller will tell you the same.

            I tried to add some self-reference to the question to make a paradoxical answer but can’t see a wording that even causes something like “this statement is false”, at least not one about which door to pick.

            Only ways I can think of start with the paradox right in the question. Like “If the other guard said, ‘this statement is false’, would you believe him?”

            Sucks someone downvoted just for asking questions to better understand this less than straightforward thing. I’ve always believed that if you think something is wrong, you should challenge it, because even if you are wrong, the resulting discussion can help you understand why your previous perspective was flawed, which might then cascade to other things you didn’t realize you were also mistaken about.

          • MajorasTerribleFate@lemmy.zip
            link
            fedilink
            arrow-up
            1
            ·
            14 hours ago

            The question we ask if “What would the other guard say if I asked him which door is the good one?”

            Liar says Bad Door

            Truther says Bad Door

            Now, for their answers to update, they would have to ne answering the question, “Which door would the other guard say if I asked him ‘Which guard would the other guard say is the good door?’”

            We want a guard to answer “What would the other guard say is the good door?” Regardless of how they answer our “outer” question, the answer to the “inner” question (“which is the good door?”) doesn’t change.

            Liar doesn’t care that Truther would say that “Liar would say the right door is the good one,” Liar is being asked how Truther would answer “Which door is the good one”.

            I know I basically just said the same thing three times. My brain isn’t working to break this out the elegant way I can’t quite assemble. But hopefully some part of all this helps. The crux is that the question that they are imagining the other guard’s answer to is not the same question they themselves are being asked.

  • RememberTheApollo_@lemmy.world
    link
    fedilink
    arrow-up
    16
    ·
    edit-2
    1 day ago

    This puzzle is always presented as difficult, but why not just ask a known? If your eyes are brown just ask “Are my eyes brown?” You’d immediately know which one lies or tells the truth.

    E: I missed the limit of one question.

    • Skua@kbin.earth
      link
      fedilink
      arrow-up
      32
      ·
      1 day ago

      Then you still don’t know which door is the correct one, you’ve just learned which guard tells the truth and you’ve used up your one question. The trick is to ask which door the other guard would tell you is the correct one and then go through the other door. If you’ve asked the lying guard, they’ll lie about what the honest one would say and point you towards the wrong door. If you asked the honest one, they’ll truthfully tell you what the lying guard would say and also point you towards the wrong door

    • Seasoned_Greetings@sh.itjust.works
      link
      fedilink
      arrow-up
      25
      ·
      1 day ago

      Because there are two doors and only one question. If you ask a known question unrelated to the door you find out who the liar is but lose your opportunity to ask them which is the correct door.

    • JackbyDev@programming.dev
      link
      fedilink
      English
      arrow-up
      16
      ·
      1 day ago

      Knowing who lies and who tells the truth doesn’t tell you which door leads to the prize and which to death.

    • Edge004@lemmy.zip
      link
      fedilink
      arrow-up
      16
      ·
      1 day ago

      The difficulty comes from only being able to ask one question. It’s very easy to figure out the liar, but it’s much more difficult to figure out the liar and the correct door in the same question

      • Aqarius@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        1 day ago

        In fact, the lying guard is a red herring. You get one question, and need one piece of info: the door. The canonical question doesn’t tell you which guard lies, nor do you care to find out.