At this tetris version, and you must arrange pieces so that they fill horizontal and vertical lines at the base. Every time you fill a line, the dimensions of the base will be reduced, until the moment when they reach a minimum and you pass level.
Code Tetris cube to you Site or Blog :