template list of shape data structures that represents all the possible rotations of shape these are store in variables with names like s_shape_template or j_shape_template landed when piece has either reached the bottom of the board or is touching box on the boardwe say that the piece has landed at that pointthe next piece should start falling source code to tetromino this source code can be downloaded from messageslook at the line number that is mentioned in the error message and check your code for any typos you can also copy and paste your code into the web form at book you will also need the background music files in the same folder of as the tetromino py file you can download them from here tetromino ( tetris clone by al sweigart al@inventwithpython com creative commons by-nc-sa us import randomtimepygamesys from pygame locals import fps windowwidth windowheight boxsize boardwidth boardheight blank movesidewaysfreq movedownfreq xmargin int((windowwidth boardwidth boxsize topmargin windowheight (boardheight boxsize email questions to the authoral@inventwithpython com