Talk:Tetris (Game Boy)

From TetrisWiki
Revision as of 00:04, 7 March 2007 by *>Esachs (→‎Tetromino randomizer?)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Does anyone know how the random garbage is determined in mode B? --Lardarse 00:30, 14 November 2006 (EST)

I'm fairly sure it's populated completely randomly on a tile by tile basis up to the height selected, but can't find a source right now - Taratang

Tetromino randomizer?

How does the Tetromino randomizer work? Esachs 20:59, 5 March 2007 (EST)

The randomizer in this game appears to behave the same way as a standard memoryless randomizer. To what detail do you want to know? Do you want a formula that generates a piece sequence with the same statistics (try nextPiece = (rand() & 0x7FFF) * 7 / 32768;), or do you want a formula that generates the exact piece sequence that the game makes (a la Sega Tetris from 1988)? --Tepples 22:54, 5 March 2007 (EST)

Thanks, that's all I needed. Esachs 19:04, 6 March 2007 (EST)