sPiece = [ [ False, True, True ], [ True, True, False ] ]
# Seven "standard" pieces (tetrominoes) iPiece = [ [ True, True, True, True ] ] jPiece = [ [ True, False, False ], [ True, True, True ] ] lPiece = [ [ False, False, True ], [ True, True, True ] ] oPiece = [ [ True, True ], [ True, True ] ] sPiece = [ [ False, True, True ], [ True, True, False ] ] tPiece = [ [ False, True, False ], [ True, True, True ] ] zPiece = [ [ True, True, False ], [ False, True, True ] ]
tetrisPieces = [ iPiece, jPiece, lPiece, oPiece, sPiece, tPiece, zPiece ]
tetrisPieceColors = [ "red", "yellow", "magenta", "pink", "cyan", "green", "orange" ]
David Kosbie |