2d Array Tetris Row Collapsing Problem
807601Feb 10 2008 — edited Feb 10 2008Hey guys for class I am building a Tetris game and while I have everything else down im getting stuck on the "row collapsing." I am using a 2 d array to represent the board and switching individual cells on and off to emulate pieces. Ive tried nested for loops with various algorithms but I just cannot figure out how to get this working. Even if i delete a full row, the part of the row above might make another full row and i cant figure out how to detect that. Am i even going in the right direction? just a hint would be nice or a link to a good array manipulation guide thanks :)