Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

A .Net Tetris game in c# using GDI+

0.00/5 (No votes)
5 Feb 2004 1  
I use GDI+ to create a simple tetris game

Introduction

Hi, 

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.

License

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