How could I create a game like Tetris?

can somebody give me a full explanation how to create a game like tetris? and please let me know about the blueprints.