just add the shape to the arrayfull parameter.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.
-------
Some days I am the dog, Some days I am the hydrant. In either case the sun shines in my face.