How do I create Tetris Blocks in XNA with C#?

Posted by Slateboard on Stack Overflow See other posts from Stack Overflow or by Slateboard
Published on 2010-03-15T18:33:16Z Indexed on 2010/03/15 18:39 UTC
Read the original article Hit count: 885

Filed under:
|
|
|
|

I'm making a Tetris Clone in C# with XNA, and I'm unsure of how to actually implement the blocks.

I don't think that making the shapes as images will work (because parts are removed when lines are formed), so I Have blocks to make up the pieces like This.

Unfortunately, I don't know how to actually define the blocks to make the pieces, nor do I know how to manipulate them to make them rotate, etc.

Edit: I would also need assistance in learning how to make the Tetris Grid too.

© Stack Overflow or respective owner

Related posts about tetris

Related posts about c#