Lurker News

Comments (464) 216 threads

Earlier comments
quickthrower21 reply#
2. Make a daily one with a countdown to tomorrows one.

3. Profit.

benj1111 reply#
I've never come across 2 indexing. Is it meant to avoid off by one errors? Pointer arithmetic might be interesting though.
rmetzler1 reply#
1 is already done, isn’t it?
benj1113 replies#
I don't know, it hasn't being listed, neither has 0.

Continue this thread — 3 replies

yusungsim1 reply#
Hi! I enjoyed the puzzle and I liked how puzzle itself explains every rule within itself. :)

I wrote an automatic solver for the puzzle in Scala and open-sourced in GitHub. : https://github.com/yusungsim/dogbunnysolver Check it out!

7thaccount1 reply#
Cool. I see it is a solution that has the graph embedded in the code though. Any chance you could build one to work off a generic input model that describes the starting state of the characters, nodes, connections, and connection rules? That way you could run it every day without code tweeks.
yusungsim#
Yes! In fact, I already listed-up my future plan for refactoring the code at the readme. One of the plan is to use file I/O to get the graph structure and the rules.

I expect there would be existing solutions for (de)serializing the generic graph. One tricky thing (I think) is to encode the connection rules in some parsable format.
I'm planning on extending the connection rule to propositional logic and find some fancy way to efficiently en(de)code the PL formula.
Maybe I should spend some more nights to refactor my ugly code :P anyway thanks for the reply!

smrq#
When I was young, I had a book of mazes-with-rules[1]. This would have fit right in! There were definitely mazes that involved multiple entrants into the maze, and rules governing whether edges were allowed to be taken.

Thanks for unlocking an ancient memory. I'll have to see if I can track down my old copy of this book.
[1] https://www.logicmazes.com/super.html

sp3321 reply#
I like the puzzle! Too much flashing at the end there, either tone it down or put an epilepsy warning on it.
tempestn#
I had the same thought. Just made me wonder, are there browser extensions, or maybe even full OS overlays for people with epilepsy that will automatically filter out any potentially problematic flashing?

Edit: Unsurprisingly it appears I'm not the first to have thought of this, at least: https://tlo.mit.edu/technologies/making-screens-safe-those-p...

Load more comments