Live data from Hacker News

0h h1 – A little logic game

0hh1.com

81–90 of 165 posts

Re: 0h h1 – A little logic game

#82
post #68

Earlier quoted context omitted.

Just look at the source!

Once the beef has been turned into a hamburger, it's hard to identify the specific animals that went into the hamburger's composition ... if you know what I mean.

That somewhat holds for non web apps but when you have the source it's pretty easy to tell what it was made with. Usually if it's a compile to javascript language like TypeScript or Dart the source is going to look horribly obfuscated. The js on the page is pretty straight forward so I really doubt he used one of those.

Looking at the source it looks like everything is hand rolled except for the jQuery dependency.

Re: 0h h1 – A little logic game

#83
post #68

Earlier quoted context omitted.

Just look at the source!

Once the beef has been turned into a hamburger, it's hard to identify the specific animals that went into the hamburger's composition ... if you know what I mean.

Did you take a look at the source?

Re: 0h h1 – A little logic game

#84
post #5
post #4

This is awesome, but tutorial seems slow and boring. Friendly reminder: launch iOS/Android version before someone else does

Eh? I thought the tutorial was great. Took less than 2 minutes, I totally understood the rules, and had completed a sample puzzle. What more could you want?

A way to just see the damn rules! :)

Re: 0h h1 – A little logic game

#85
post #10

A few bits of feedback: - There's no list of rules anywhere. If you forget any rule, you need to go through the tutorial again. - Is the tutorial missing a rule? (It has the "no two identical rows" rule, but it seems like you also can't have two identical columns). - The endgame needs work. Right now it's simply highlighting every square that's wrong, rather than just telling which rule was broken. This is absolutely…

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

I get the same problem with valid solutions that don't match whatever it's comparing as the "right" one. It would be better to instead do a goal test after the final square has been filled? Seems to me this wouldn't be too hard to implement instead of comparing with a key.

Re: 0h h1 – A little logic game

#86

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…

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/

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.

Re: 0h h1 – A little logic game

#87

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 is also the same as the Landscaper puzzles in the Logic Games iOS app (https://itunes.apple.com/us/app/70-logic-games-time-killers/...)

Re: 0h h1 – A little logic game

#88
post #10

A few bits of feedback: - There's no list of rules anywhere. If you forget any rule, you need to go through the tutorial again. - Is the tutorial missing a rule? (It has the "no two identical rows" rule, but it seems like you also can't have two identical columns). - The endgame needs work. Right now it's simply highlighting every square that's wrong, rather than just telling which rule was broken. This is absolutely…

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.

Re: 0h h1 – A little logic game

#89

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…

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've spread to a surprising number of platforms.

Re: 0h h1 – A little logic game

#90

The fact that the game doesn't accept valid solutions besides the one it wants is a turn-off.

I've found that it seems to accept any valid solution. Perhaps your solution wasn't as valid as you thought?

I finished an 8x8 and it didn't accept. Showed it to 4 co-workers and nobody could find any issue with violating the rules... Should've screenshotted.
Post reply on HN