News for hackers. Stuff that matters.
Re:Ask HN: Please review my DropZap web demo. It's written... by amichail on Sunday December 20, 2009 @04:12PM (#1006576)
...it's impossible (heh, well for this mortal) to definitively predict the consequences of a particular drop. Badda-bing-bang-bong and half the screen is cleared. When it doesn't work out so well the responsibility for failure can easily be ascribed to unfortunate randomness introduced by the row feed.

What do you mean by this? The chain reaction doesn't involve anything random.

Re:Ask HN: Please review my DropZap web demo. It's written... by drhodes on Sunday December 20, 2009 @07:53PM (#1006888)
The chain reaction involves the row feed, which I assume is randomly generated. But that's entirely a different point.

I'm saying that it is nearly impossible to predict what's going to happen given that a particular choice often causes a reaction which might involve many steps (9? 10+) of elimination, each changing the configuration of the blocks. I've built a block dropper, that's why I saw this. But if users like it, and it's selling ...

Re:Ask HN: Please review my DropZap web demo. It's written... by amichail on Sunday December 20, 2009 @08:14PM (#1006917)
When you drop a piece, you will not get a new row inserted before the chain reaction (if any) completes. So a new row will not affect your ability to predict how the chain reaction will go.

But yes, chain reactions can be long. You can at least predict how a chain reaction will start out and guess about what might happen after that.