Live data from Hacker News

0h h1 – A little logic game

0hh1.com

121–130 of 165 posts

Re: 0h h1 – A little logic game

#121

Earlier quoted context omitted.

That collection is technically kind of interesting too. The puzzle code itself is written in portable C, using a custom-built common framework and UI abstraction layer that allows it to run on pretty much any platform. http://www.chiark.greenend.org.uk/~sgtatham/puzzles/devel/

This almost seems like something you'd see in a thedailywtf article. Want to write an application that does X? Design, build, test, and document a flexible cross-platform framework that can safely and portably run any application in the domain, and then specialize it to do X! I have to say, though, that it seems to have actually worked out for the best in this case. He added a ton of puzzles at a rapid pace and they'…

And now maybe you understand why "flexible cross-platform frameworks" are not automatically a WTF ;)

Re: 0h h1 – A little logic game

#122

Earlier quoted context omitted.

Yes, I believe it is missing a rule. If columns don't need to be identical than this 10x10 puzzle won't have a unique solution: http://i.imgur.com/ZQ8pkfm.png

Nope, there's just one: look at column 1 and 4, so far they are the same.

That's the point.

The rules don't explicitly say that columns need to be unique (only rows).

Within the stated rules there are (as best I can see) 2 valid solutions to that puzzle. It is the introduction of the unstated unique column rule that resolves it.

Re: 0h h1 – A little logic game

#123
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)

Conveniently enough, there's a long section of the developer docs that covers exactly that topic: http://www.chiark.greenend.org.uk/~sgtatham/puzzles/devel/wr...

Re: 0h h1 – A little logic game

#125

This is Unruly from Simon Tatham's puzzle collection: http://www.chiark.greenend.org.uk/~sgtatham/puzzles/ I install this on literally every device I own. Windows machines, linux machines, android machines. It's a great source of small, procedurally generated puzzles. I often just put on some music and zone out playing Pearl for a while. e: If you're on Ubuntu: sudo apt-get install sgt-puzzles e2: I misremembered, it…

Unruly has an option to enforce unique rows & columns.

Re: 0h h1 – A little logic game

#126
post #73

Earlier quoted context omitted.

Yeah everything in this 10x10 seems right and I have looked over every single row and column to confirm that I haven't broken any rules but it still tells me that 8 random tiles are incorrect.

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.

Re: 0h h1 – A little logic game

#127

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.

Glad to see this comment too.. I thought I was hitting a bug or something (making the game way too easy to solve :p). Just turning off the hints would make it much more difficult imo.

Re: 0h h1 – A little logic game

#128
post #122

Earlier quoted context omitted.

Nope, there's just one: look at column 1 and 4, so far they are the same.

That's the point. The rules don't explicitly say that columns need to be unique (only rows). Within the stated rules there are (as best I can see) 2 valid solutions to that puzzle. It is the introduction of the unstated unique column rule that resolves it.

The author is not a native English speaker, but it seems obvious that the row rule should apply to columns.

Re: 0h h1 – A little logic game

#129

This is Unruly from Simon Tatham's puzzle collection: http://www.chiark.greenend.org.uk/~sgtatham/puzzles/ I install this on literally every device I own. Windows machines, linux machines, android machines. It's a great source of small, procedurally generated puzzles. I often just put on some music and zone out playing Pearl for a while. e: If you're on Ubuntu: sudo apt-get install sgt-puzzles e2: I misremembered, it…

This just killed my productivity and made my day.

Re: 0h h1 – A little logic game

#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.

Post reply on HN