User talk:Nightmareci

From TetrisWiki
Revision as of 04:23, 3 March 2009 by Nightmareci (talk | contribs)
Jump to navigation Jump to search

Any reason why you aren't using row 0 as the bottom row? --Lardarse 11:24, 2 March 2009 (UTC)

Mainly so that it more closely matches the way in which it'd be implemented in some programming languages.
The issue I see with using row 0 as bottom in an implementation is that it involves a lot of decrementing, be it line-number from gravity/soft drop or row dropping from line clear, and I personally prefer using increments for the common cases and decrements for the less common cases, when writing software. Also, often a graphics coordinate system operates similarly to my row numbering scheme, with the Y axis going from 0 to larger positive values, top to bottom; an example here. --Nightmareci 04:23, 3 March 2009 (UTC)