{"nodes":{"a1j2pf8ppngpzr19kxhee6751a13frlz":{"type":"start","x":0,"y":0,"properties":{"title":"Conversational XOR","excerpt":"Sometimes, in a conversation, it's necessary to check if exactly one condition is met. It doesn't matter which one condition is met, as long as it's one.","slug":"","post":"","author":"GraVersal","license":"CC BY 4.0","channel":"chat","category":"Logic","private":false}},"ekiprjng8o1pp4ffimmx6ketfv5vgiww":{"type":"message","x":-273.378048828125,"y":136.5960244140625,"properties":{"text":"Sometimes, in a conversation, it's necessary to check if exactly **one condition** is met. It doesn't matter which one condition is met, as long as it's one.","repeatOnReentry":true,"repeatOnChance":true}},"f4urpli5j8xamiqtea4y1y3een3o0t3t":{"type":"message","x":-162.2839755859375,"y":391.127,"properties":{"text":"We call this type of logic **\"conversational XOR\"**. XOR means exclusive OR. It doesn't matter which option you choose, but there can only be one.","repeatOnReentry":true,"repeatOnChance":true}},"rkr71i03ryma0481m0g53frsj6x2em6o":{"type":"message","x":107.3139755859375,"y":526.2059755859375,"properties":{"text":"Solve this case and accuse one person. Who committed the crime?","repeatOnReentry":true,"repeatOnChance":true}},"x97lx8yrnq1q0102ckaevijaxfi7595i":{"type":"question","x":160.9674178201885,"y":747.3713090839442,"properties":{"text":"Are you blaming the butler?","reviewable":true,"repeatOnReentry":true}},"q7q61uajdswez0xkvjj67qvvsnet9b2n":{"type":"suggestion","x":27.837024414062498,"y":858.823048828125,"properties":{"value":"0","label":"no"}},"wimzxtf6evmvy8mzj6qrxezifk5u2s60":{"type":"suggestion","x":-30.3155328481962,"y":736.1253264338526,"properties":{"value":"1","label":"yes"}},"a7lcn9jy2ant4gsjfhs5a65niuqi5zj6":{"type":"question","x":317.641,"y":947.8479267578125,"properties":{"text":"Are you blaming the salesman?","reviewable":true,"repeatOnReentry":true}},"hhvnke5yc1o49yhdi1etg7astmud9l4f":{"type":"question","x":566.9601740330646,"y":1115.6842245821308,"properties":{"text":"Are you blaming the gardener?","reviewable":true,"repeatOnReentry":true}},"5rrcpwmkzb9yrkj0kve1ptilitpx56sc":{"type":"suggestion","x":123.1570826011471,"y":994.4956781115218,"properties":{"value":"1","label":"yes"}},"3ixnq9q79zjts4wcpr7jpqkbe142z0mu":{"type":"suggestion","x":234.08018812020623,"y":1120.8660408537698,"properties":{"value":"0","label":"no"}},"tvdyd1uwr4p3drz62fqx09f6f0qd530o":{"type":"suggestion","x":362.86070760930386,"y":1235.2650606921793,"properties":{"value":"1","label":"yes"}},"88welklpmhsf6ba8rw54thfmmub4pejw":{"type":"suggestion","x":549.1970567191623,"y":1306.0118178080284,"properties":{"value":"0","label":"no"}},"f7nar5j1ld7mlnxfxmf4pyyzxx67uucx":{"type":"number","x":750.6615380927551,"y":696.3579624193729,"properties":{"expression":"a+b+c","recalculateOnReentry":true,"recalculateOnChance":true}},"my290co1rchhpkwjs2i4dicykpf584vj":{"type":"message","x":1015.4047246118224,"y":499.4382169448787,"properties":{"text":"You accused **exactly one person**","repeatOnReentry":true,"repeatOnChance":true}},"tr95oelju70roy4spckycmhwdm7smfn2":{"type":"message","x":1127.3748028379605,"y":790.9989867186662,"properties":{"text":"Please only accuse **one person**!","repeatOnReentry":true,"repeatOnChance":true}},"0dhf4dpksr2vw26slr4vrt3xxfjl2wto":{"type":"message","x":1102.369257128271,"y":637.3052411899396,"properties":{"text":"Please accuse at least **one person**.","repeatOnReentry":true,"repeatOnChance":true}}},"edges":{"479ocfuspmhfwl5jvanimz1c1wovftbn":{"type":"may","from":"a1j2pf8ppngpzr19kxhee6751a13frlz","to":"ekiprjng8o1pp4ffimmx6ketfv5vgiww","properties":{"priority":4}},"0tg0i0mfi02ixw3hglucafl9kppgzrzp":{"type":"may","from":"ekiprjng8o1pp4ffimmx6ketfv5vgiww","to":"f4urpli5j8xamiqtea4y1y3een3o0t3t","properties":{"priority":4,"condition":"arrived"}},"refkiw20hsb9c1ws18dpdh7fhp8wlyrl":{"type":"may","from":"f4urpli5j8xamiqtea4y1y3een3o0t3t","to":"rkr71i03ryma0481m0g53frsj6x2em6o","properties":{"priority":4,"condition":"arrived"}},"dyspz2bxelw7xgec40s6jyt0v0ybokl6":{"type":"may","from":"rkr71i03ryma0481m0g53frsj6x2em6o","to":"x97lx8yrnq1q0102ckaevijaxfi7595i","properties":{"priority":4,"condition":"arrived"}},"ovtvzv3c03vr8kmybrg9w259ml1bhmg0":{"type":"may","from":"x97lx8yrnq1q0102ckaevijaxfi7595i","to":"q7q61uajdswez0xkvjj67qvvsnet9b2n","properties":{"priority":4,"condition":""}},"pey1t0b9aezlsrt0f37add1fc417ublb":{"type":"may","from":"x97lx8yrnq1q0102ckaevijaxfi7595i","to":"wimzxtf6evmvy8mzj6qrxezifk5u2s60","properties":{"priority":4,"condition":""}},"jcgljkvlhnejolmlzzafgsjiji3ix6dv":{"type":"may","from":"x97lx8yrnq1q0102ckaevijaxfi7595i","to":"a7lcn9jy2ant4gsjfhs5a65niuqi5zj6","properties":{"priority":4,"condition":"answered"}},"6vtt2s276bzz19db7kbdmofiawrgnyzk":{"type":"may","from":"a7lcn9jy2ant4gsjfhs5a65niuqi5zj6","to":"hhvnke5yc1o49yhdi1etg7astmud9l4f","properties":{"priority":4,"condition":"answered"}},"g6iy2b8ayc160c7ghmsuoukj8uhnsjci":{"type":"may","from":"a7lcn9jy2ant4gsjfhs5a65niuqi5zj6","to":"5rrcpwmkzb9yrkj0kve1ptilitpx56sc","properties":{"priority":4,"condition":""}},"pl1zgaa67112ekmi3bb2a6945ejxvlcz":{"type":"may","from":"a7lcn9jy2ant4gsjfhs5a65niuqi5zj6","to":"3ixnq9q79zjts4wcpr7jpqkbe142z0mu","properties":{"priority":4,"condition":""}},"2suzo3kif1uod2wq01wgvy8zg70ctt5f":{"type":"may","from":"hhvnke5yc1o49yhdi1etg7astmud9l4f","to":"tvdyd1uwr4p3drz62fqx09f6f0qd530o","properties":{"priority":4,"condition":""}},"8rffvb5l3sq9drut5uei3g2upquz2e60":{"type":"may","from":"hhvnke5yc1o49yhdi1etg7astmud9l4f","to":"88welklpmhsf6ba8rw54thfmmub4pejw","properties":{"priority":4,"condition":""}},"jv0ae86yh0u7oozrsu64xq6ho5owxyz6":{"type":"must","from":"x97lx8yrnq1q0102ckaevijaxfi7595i","to":"f7nar5j1ld7mlnxfxmf4pyyzxx67uucx","properties":{"priority":4,"condition":"answered","push":"value","as":"a"}},"4ttfn4nosfza5eqib4pizd6wbar8otza":{"type":"must","from":"a7lcn9jy2ant4gsjfhs5a65niuqi5zj6","to":"f7nar5j1ld7mlnxfxmf4pyyzxx67uucx","properties":{"priority":4,"condition":"answered","push":"value","as":"b"}},"eovd18l2559ap30u8lp1kxsro7rkbc2v":{"type":"must","from":"hhvnke5yc1o49yhdi1etg7astmud9l4f","to":"f7nar5j1ld7mlnxfxmf4pyyzxx67uucx","properties":{"priority":4,"condition":"answered","push":"value","as":"c"}},"l56lox4zob69lutcn8o4x2y5392g8r6e":{"type":"may","from":"f7nar5j1ld7mlnxfxmf4pyyzxx67uucx","to":"my290co1rchhpkwjs2i4dicykpf584vj","properties":{"priority":4,"condition":"value == 1"}},"0tsi8dyxmyednxe8w1qjtnesm5u7s8z8":{"type":"may","from":"f7nar5j1ld7mlnxfxmf4pyyzxx67uucx","to":"tr95oelju70roy4spckycmhwdm7smfn2","properties":{"priority":4,"condition":"value > 1"}},"b9la5gpnlmlei5vqsfituixfqgcfgs5j":{"type":"may","from":"f7nar5j1ld7mlnxfxmf4pyyzxx67uucx","to":"0dhf4dpksr2vw26slr4vrt3xxfjl2wto","properties":{"priority":4,"condition":"value < 1"}}}}