If you just want the shape without texturing, then you could also use rectangle shapes.
You could for example draw four squares next to each other for a straight tetromino etc.
If you search the project section for Tetris, you should find quite a few examples, often with code, that might help you understand, how one could go about writing such a game.