Click here to Skip to main content
14,331,020 members

A .Net Tetris game in c# using GDI+

Rate this:
1.11 (20 votes)
Please Sign up or sign in to vote.
1.11 (20 votes)
5 Feb 2004
I use GDI+ to create a simple tetris game



This game is a simple Tetris clone i wrote to highlight some of the power of GDI+. The rules are essentially the same so I will not spend much time discussing them.  Because of the rich set of functionality available to a game player, it serves as a very goog example of how modeling and planning can  be used to create powerfull systems with little effort.  Using the SCC and transforation patterns I realize pretty much everything a basic tetris game can do (and some more).  The static relationships  between elements is depicted below in two seperate diagrams.

static structure 1


static structure 2


One interesting addition to this would be inclusing network play of some sort.  Let me know if you  have any.


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Edward Moemeka
United States United States
Hi I'm Edward Moemeka,
For more interesting articles about stuff check out my blog at
To correspond, email me at
To support my company, thus help me feed my family, check out our awesome online preview at Remember, its in alpha Wink | ;-)

Comments and Discussions

GeneralMy vote of 1 Pin
Diamonddrake25-Apr-10 17:46
memberDiamonddrake25-Apr-10 17:46 
Generalvisual studio project is corrupted... Pin
davidlars995-Jan-06 14:22
memberdavidlars995-Jan-06 14:22 
GeneralA couple of notes Pin
Sami Vaaraniemi7-Feb-04 7:47
memberSami Vaaraniemi7-Feb-04 7:47 
GeneralRe: A couple of notes Pin
Wouter van Vugt8-Feb-04 11:05
memberWouter van Vugt8-Feb-04 11:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Posted 5 Feb 2004


24 bookmarked