Back to General discussions forum
...where my code generates a murder mystery and asks you to write a code that solves this mystery. Rodion: it's in your mailbox.
P.S. I also added my own solution to The Catacombs of Chronos. Alabama Adams will return in a future adventure.
Vladimir, thanks a lot! It is published - sorry for delay - and looks curious, somewhat different from what we get used to, which is nice :) I cherish slight hope it is bit easier compared to some recent problems and going to try it myself bit later!
Not quite working just yet: :)
Expected answer was: ballroom, with the Miss Scarlett, in the rope.
Augh. The site Python is old and doesn't keep dictionary entries in the order of addition.
Rodion: I've emailed you a fixed script; sorry about that, and thanks!
just a sec! but really one shouldn't rely on dictionary being ordered, I guess :)
It is updated! Sorry for I really forget to relogin as testuser and check the expected answer generation at least myself, but unluckily got distracted by some work calls :)
Thanks, we are getting closer.
Reply: Expected answer: Colonel Mustard, with the rope, in the library.
It should be: Culprit, in the location, with the weapon.
(I could of course change my output format to pass but I rather wait.)
This is entirely my fault this time. Rodion, please check your mailbox again and my repeated apologies.
No need to apologise whatsoever, rather a big thank to everybody who contributes with fun challenges!
Updated again - and I agree no need for much apologies :)
Regretfully the flow of contributing problems is far from comfortable for you. Perhaps it would be nice to have some kind of playground, but regretfully this interpreter is the one used by the hosting provider itself, so it has potential of doing much harm even unintentionally :(
So let's agree that it's quite ok that problem may be tested-amended after publishing, moreover that it wasn't yet solved by hundreds of people :)
Working!
Btw, after the first hint but before the actual publishing of the problem, I checked how to get Prolog running on my machine, either directly or via PySwip in python. That wasn't as straightforward as I had hoped, but I might still come back to it as Prolog should be ideal for such kind of problems.
Hm, about Prolog this is very curious. I remember trying to tinker with it 15-20 years ago, but got impression that it is a cool idea but lacking any real problems to be solved by it...
how to get Prolog running on my machine
Why not trying to find suitable docker image? After understanding how to launch docker few years ago I prefer to use almost any development-related software via it, if possible :)