Live data from Hacker News

0h h1 – A little logic game

0hh1.com

131–140 of 165 posts

Re: 0h h1 – A little logic game

#131
post #86

Earlier quoted context omitted.

Also, each puzzle has its own custom constraint solver to generate fresh puzzles with desirable characteristics. For example, the version of minesweeper in the collection generates puzzles such that the first click never reveals a mine and that there is always a logical path to the solution -- no guessing needed.

I always wonder with these kinds of puzzles how one can come up with an initial settings that (a) yields a unique correct solution and (b) has a logical next step at every step (so doesn't require thinking ahead x steps to arrive at a conflict)

For at least Loopy, the generator works by generating a full puzzle with all hints, and then removing hints one at a time until the solver can't solve the puzzle. So the complexity of the puzzles that can be generated are dependent on the cleverness of the solver.

Re: 0h h1 – A little logic game

#133
post #130

10x10 solved. It seems too easy. It is almost an auto solver, you just have to find two blocks of the same color together, or two blocks with the same color with an empty block in-between. Great for a young person, but I would like to see a version with more rules and constraints to follow. The UI and the UI feedback is outstanding though.

> but I would like to see a version with more rules and constraints to follow. That would actually make it easier, not harder. The more constrains you have the fewer possible options you have, and the easier the puzzle.

More constrains does not necessary translate to less choices. And even when it does, less choices do not necessary make it an easier game.

For example: I remove undo move, then you certainly have less choices but, the game is harder( even for a computer ), since you have to remember previous states which were previously accessible via undo.

Re: 0h h1 – A little logic game

#136
post #126

Earlier quoted context omitted.

You should take a screenshot. See if anyone else can find something you might have missed, or can confirm that you found a winning solution.

here is a 4x4 that naively seems like it should be a legal solution, but isnt: 1010 1010 0101 0101 same number of 0s as 1s per row same number of 0s as 1s per col no rows or cols with run of 3 of same value edit: oh - "no two rows are the same". fail. disregard this. must have clicked past that in the tutorial.

That's the point of having a clear set of rules somewhere because most people skipped that part of the tutorial. (I did too) I had to be stuck somewhere, quit the game and redo the tutorial very slowly just to see if there's a rule I didn't see ;)

Another way to find the rules is to use the "eye" on every turn in a 6x6 or 10x10.

Re: 0h h1 – A little logic game

#137
edit: I'm wrong.

I have found a correct solution, yet the game doesn't accept it:

B r r B

r B B r

B B r B

B r B r

The correct solution was:

B r r B

r B B r

B B r r

r r B B

My guess to this is that there are more than one solutions to the problem and checking if the board is solved is done by finding the first solution and comparing it to yours.

Re: 0h h1 – A little logic game

#138

edit: I'm wrong. I have found a correct solution, yet the game doesn't accept it: B r r B r B B r B B r B B r B r The correct solution was: B r r B r B B r B B r r r r B B My guess to this is that there are more than one solutions to the problem and checking if the board is solved is done by finding the first solution and comparing it to yours.

Your third row contains 3 B's and only one r. Each row and column has to have an equal number of each.

Re: 0h h1 – A little logic game

#139

edit: I'm wrong. I have found a correct solution, yet the game doesn't accept it: B r r B r B B r B B r B B r B r The correct solution was: B r r B r B B r B B r r r r B B My guess to this is that there are more than one solutions to the problem and checking if the board is solved is done by finding the first solution and comparing it to yours.

Your third row contains 3 B's and only one r. Each row and column has to have an equal number of each.

Well that's embarrassing.
Post reply on HN