Earlier quoted context omitted.
I've never come across 2 indexing. Is it meant to avoid off by one errors? Pointer arithmetic might be interesting though.
1 is already done, isn’t it?
Show HN: I may have created a new type of puzzle
121–130 of 485 posts
Re: Show HN: I may have created a new type of puzzle
#122It doesn't work. Especially on mobile.
Re: Show HN: I may have created a new type of puzzle
#123I'm a sucker for graph and topology puzzles, so this was very enjoyable to me. I loved that you could clearly sense progress mounting with each step.
The flashing lights at the end could use a bit of calming down though.
Fantastic prototype, is what this smells like : p
Re: Show HN: I may have created a new type of puzzle
#124I thought I had to keep the dog and rabbits separate, which really stumped me for a bit. It would be neat if the conditional statements emphasized and deemphasized based on whether their condition was currently met.
Re: Show HN: I may have created a new type of puzzle
#125I agree i don't think i have seen constraint as a game quite like this before
Re: Show HN: I may have created a new type of puzzle
#126I'm convinced there is only one way to solve this: Write a program to unroll the constrained state transition diagram into an unconditional state transition diagram and find the shortest path. The unrolled version would still be pretty small so you can just iterate over it.
(Well obviously it's not and you were joking, but let's say you were not, for the sake of argument.)
Humans do this differently from machines. We look for strategies and have smarts to on-the-fly develop and refine heuristics that rapidly allow us to intuitively do branch-and-bound like algorithms and in the end solve this even though we brute force very litte, if at all.
That's why it took so long for machines to surpass us at chess or similar. It's a different approach. That's what makes machines better at certain things and humans at others. And there is a lot to be gained by trying to have machines also try human-like approaches to problems (strategy-developing rather than brute force).
Re: Show HN: I may have created a new type of puzzle
#127I thought I had to keep the dog and rabbits separate, which really stumped me for a bit. It would be neat if the conditional statements emphasized and deemphasized based on whether their condition was currently met.
How do I interact with the website? It's just a static image for me
Re: Show HN: I may have created a new type of puzzle
#128It would be nice to show how many steps were taken to solve it.
Re: Show HN: I may have created a new type of puzzle
#129I love it. Fantastic. Can you think of a way to re formulate the puzzle so that you can express the rules without words? Also, the dog / rabbit dynamic (as used in the classic dog/duck/grain river crossing puzzle) made me think that I had to chase the rabbits with dog, or that dogs and rabbits couldn’t share a node. Different animals might be better — rabbit and mouse, perhaps? Or even different coloured rabbits and…
>Can you think of a way to re formulate the puzzle so that you can express the rules without words? I'm imagining Haskell with emojis now.
https://gist.github.com/Erk-/be3ef032d31734b6f835edd9a9685af...
Re: Show HN: I may have created a new type of puzzle
#130I thought I had to keep the dog and rabbits separate, which really stumped me for a bit. It would be neat if the conditional statements emphasized and deemphasized based on whether their condition was currently met.
How do I interact with the website? It's just a static image for me