ARTICLE

Another Tetris Game in C#

Posted by Avgust Ishechenkp Articles | GDI+ & Graphics February 22, 2002
Here is another version of Tetris. This program uses opaque background instead of real double buffering.
Reader Level:
Download Files:
 



Overview

Just another implementation of tetris

j -move left
l - move right
i - rotate
k - drop
r - restart

There is no score, just lines, levels and some statistics (2x - number of times, two lines where removed ). That's just a brief implementation, that introduce some usage of GDU+ and Windows.Forms. Exposes custom drawing control. Uses opaque background instead of real doublebuffering.

Login to add your contents and source code to this article
post comment
     

Amazing!!!! Good Work. By the way i had to change the keys to "wasd". Anyways goos work.

Posted by Junaid Inam Dec 13, 2012

OK....FORGET ABOUT THAT, I JUST FIND THAT THING BUT I HAVE ANOTHER PROBLEM...THE COMMANDS DOESN'T RESPOND (J, L, K, I AND R)

Posted by Chito Cervantes May 13, 2012

HEY DUDE....BUT WHERE I CAN FIND THE START UP OBJECT THING??? PLEASE TELL ME

Posted by Chito Cervantes May 13, 2012

1. Start a new C# project in Visual Studio 2. Drag the MainForm.cs file into the project, or right-click on the project and select Add --> Existing Item and browse to MainForm.cs file. 3. Change the Startup Object to TetPanel in the Project's properties. 4. Run

Posted by Paul Adams Dec 21, 2010

i don't get the debug file so idon't abe to run it.

Posted by sourabh aggarwal Sep 29, 2010
COMMENT USING
PREMIUM SPONSORS
Over-C is a holistic consortium of communications and technology specialists. We build, deploy and market both business as well as consumer products and solutions.
SPONSORED BY
  • PDF reports have never been easier to create. With our included WYSIWYG Designer, you can layout your reports, set up your data source and let DynamicPDF ReportWriter do the rest.