(Edited by GamerX at 11:19 pm on Dec. 3, 2004)
The best way to do a tetris game is to have the board devided into a two dimentional array then you mark each square as full or not (a bool array)
just make the shape generation random.