Live data from Hacker News

Show HN: I may have created a new type of puzzle

dogbunnypuzzle.com

141–150 of 485 posts

Re: Show HN: I may have created a new type of puzzle

#143
post #90
post #7

It took a while, but I got it! It's like the Wolf, goat and cabbage problem https://en.wikipedia.org/wiki/Wolf,_goat_and_cabbage_problem

You mean the fox, chicken and grain problem? I wonder if this just gets localised to typical staple, typical predator and its prey? I guess cabbage and wolf is eastern Europe / Germany?

Norway has wolf, sheep and various things the sheep eat (I've seen variants cabbage and bales of grass). We also have a variation where everyone shifts down a step and there's a missionary "above" the wolf.

Re: Show HN: I may have created a new type of puzzle

#144
I love puzzles and flashing lights. Perfect!

Only counter-intuitive aspect I figured out only after finishing the first play was that animals, even dog and bunny, can occupy the same spot. But since it's possible to finish the game without doing that (except the final move) it's kinda moot point.

Re: Show HN: I may have created a new type of puzzle

#146
post #55
post #6

Cool puzzle and nice art. Too much flashing at the end. Concept reminds me of the indie game Baba is you: https://hempuli.com/baba/

Hmm, the style of the OP and that landing page reminded me of another web game I saw a few years ago with a philosophical theme, maybe a game jam entry? Kind of bothering me that I can't recall the name. It was an abstract simulation of the course of a human life: units of "time" spawned regularly in the middle of a black screen. These gravitated towards the cursor and had to be guided to text spaced around the scree…

Thanks for sharing. That was a fun game.

Re: Show HN: I may have created a new type of puzzle

#147

I'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.

In other words, BFS over the state space of the puzzle, skipping previously-visited states?

You don't actually gain anything by unrolling everything ahead of time; it'd actually be worse because you'd store all the memory and wouldn't stop when you get to the solution. And you can't really factor the state space into subproblems.

Anyway, for this puzzle BFS would work, but classical planning in general gets astronomically exponential fast. It's a neglected field, not yet thawed from the last AI winter.

Re: Show HN: I may have created a new type of puzzle

#148
This is HN and almost nobody is talking about how this was coded.

The snapping is great. The tweening is great. I guess this is uses draggable? It could have gone wrong a thousand ways but its a great success in terms of usability (I'm on mobile)

in terms of the puzzle itself I found it a bit confusing, but I'm sure you'll figure it out. it takes real initiative to just code a thing and try things out

Re: Show HN: I may have created a new type of puzzle

#149
post #57

Feedback: 1. It was good enough that I finished. This is success! Good job! 2. It took me too long to realize characters could occupy the same space, and the game doesn't draw characters occupying the same space very well. 3. The flashing lights at the end are too fast, slow them way down and it will still look good. You'll probably only have to change a number in your code.

Yeah, this was fun to solve. Re: 2, it seems intentional when two occupy the same space, 1 of them gets priority and has to be moved first? Ideally, you could pick which 1 of the 2 you could move, but removing this choice makes the puzzle harder. Re: 3, I don't like the flashing lights/colors at all. Putting a "You win" or "Congrats" somewhere prominent on the page is probably enough. Flashing colors is very painful…

maybe OP could hire an animator to make a 3 second loop of a happy rabbit eating a carrot and a dog chewing on a bone, anything other than the flashing lights
Post reply on HN