Show HN: I may have created a new type of puzzle
351–360 of 485 posts
Re: Show HN: I may have created a new type of puzzle
#352Earlier quoted context omitted.
It looks like Hakan K (has a super cool website where he solves all kinds of optimization problems for fun) was able to solve it using the Picat language in a very small amount of code with a solution (not sure if optimal): http://hakank.org/picat/dogbunny_puzzle.pi His website is a treasure trove for these kinds of problems and worth studying.
The solution is 26 steps and that should be the optimal solution.
For those of us that are not experts, how is this sort of problem generally classified? I've seen others on here say classical planning, but I wasn't sure if that is correct.
Re: Show HN: I may have created a new type of puzzle
#353(author here) Great feedback! Yes, I am the "Land of Lisp" guy Sorry about the potential epilepsy trigger- that was the fastest way I could think of to code a quick "reward effect", I will do something different in the next version. I didn't really expect anyone to care enough to solve the puzzle lol. Now that I know people like the puzzle, I will build out the website and post regular puzzles, follow my Twitter @lis…
Thank you.. As fun as it was to solve the simple puzzle, nothing will replace the joy I felt when I showed it to my 8 year old daughter to see her solve it in 2 minutes flat with no instruction at all. Thank you for making it possible. I had to ask her to persist for a bit as she didn't exactly see what had to be done. She knew what had to be done once she accidentally swiped and saw to rabbit get dragged along. May…
Re: Show HN: I may have created a new type of puzzle
#354Re: Show HN: I may have created a new type of puzzle
#355I did like the presentation, however! I think it has potential for a series of escalating difficulty.
Re: Show HN: I may have created a new type of puzzle
#356Earlier quoted context omitted.
She's a genius[1]. Took me an age to figure out what the rules were and then a fair while to actually get it done. [1]Well compared to me anyway
I inferred rules that turned out not to be true: 1) I thought that, obviously, rabbits and dogs couldn't occupy the same space, lest the dog attack the rabbit, causing a lose-condition 2) I assumed that only one animal could occupy a node. The game, until the last move, is winnable with those extra rules.
farmer, fox, chicken, and grain, and only three of them can fit in the rowboat
foxes eat chickens and chickens eat grain would be a nice type of constraint OP could add to the puzzles
Re: Show HN: I may have created a new type of puzzle
#357Re: Show HN: I may have created a new type of puzzle
#358Re: Show HN: I may have created a new type of puzzle
#359I'd like to see these be autogenerated, that seems like a fun problem to solve.