ok so was pondering on what to do and i realized am using not the listing above but the more advanced one here:
tetris clone example code
now i started to convert some of those functions in statements however some of the functions actually have parameter, like RotatePiece; how transfer parameters on a statement?
Plus, am planning to use shapes and not drawn blocks: how much the logic might differ?