Tetris

Blitz3D Forums/Blitz3D Beginners Area/Tetris

Crazy4Code(Posted 2006) [#1]
I'm wondering what you guys think is a good way to handle the blocks in the "well" (what I call the area where the blocks fall) and the blocks in the falling shape in Tetris. My ways always seem overly complicated.


Buggy(Posted 2006) [#2]
I'd probably have an array for the well blocks, with the dimensions of the array be the coordinates of each square. Then, I'd have a type for the falling blocks, and when the blocks hit the bottom, they transfer their information over to the array and then delete themselves.