Making a tetris game.

Please support our C# advertiser: Intel Parallel Studio Home
Reply

Join Date: Aug 2008
Posts: 45
Reputation: papuccino1 is an unknown quantity at this point 
Solved Threads: 1
papuccino1's Avatar
papuccino1 papuccino1 is offline Offline
Light Poster

Making a tetris game.

 
0
  #1
Nov 9th, 2008
How would I go about making a testris game in c#?

This is NOT for a homework assignment, this is just me practicing. I don't have any code of my own because I don't know how to approach the problem.

Any help, please?
My very first baby boy, coming December 2008. :D
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 1,958
Reputation: ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of ddanbe has much to be proud of 
Solved Threads: 283
ddanbe's Avatar
ddanbe ddanbe is offline Offline
Posting Virtuoso

Re: Making a tetris game.

 
0
  #2
Nov 9th, 2008
Try this :
http://www.codeproject.com/KB/cs/moemeka4.aspx
btw congratulations with your son you must already feel like a proud father!
Today is a gift, that's why it is called "The Present".
Make love, no war. Cave ab homine unius libri.
Danny
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 45
Reputation: papuccino1 is an unknown quantity at this point 
Solved Threads: 1
papuccino1's Avatar
papuccino1 papuccino1 is offline Offline
Light Poster

Re: Making a tetris game.

 
0
  #3
Nov 9th, 2008
Thank you, I can't wait for my baby boy to come! I hope he likes programming like me. *daydreams*
My very first baby boy, coming December 2008. :D
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 1,735
Reputation: LizR has a spectacular aura about LizR has a spectacular aura about 
Solved Threads: 186
LizR LizR is offline Offline
Posting Virtuoso

Re: Making a tetris game.

 
0
  #4
Nov 9th, 2008
If you are unsure how you would go about making it, the best thing is to draw it on paper wnd write down what your doing step by step, so if you take a random shape, you place it in the middle and then describe how you would move it down, and decide if it would move down etc.. once you have the description.. you can work on the code.
Did I just hear "You gotta help us, Doc. We've tried nothin' and we're all out of ideas" ? Is this you? Dont let this be you! I will put in as much effort as you seem to.
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 45
Reputation: papuccino1 is an unknown quantity at this point 
Solved Threads: 1
papuccino1's Avatar
papuccino1 papuccino1 is offline Offline
Light Poster

Re: Making a tetris game.

 
0
  #5
Nov 9th, 2008
Thanks Liz, that sounds about right.

What controls do you think are prudent to use in the endevor?
My very first baby boy, coming December 2008. :D
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 1,735
Reputation: LizR has a spectacular aura about LizR has a spectacular aura about 
Solved Threads: 186
LizR LizR is offline Offline
Posting Virtuoso

Re: Making a tetris game.

 
0
  #6
Nov 9th, 2008
Pretty much none other than maybe some buttons if you really want them
Did I just hear "You gotta help us, Doc. We've tried nothin' and we're all out of ideas" ? Is this you? Dont let this be you! I will put in as much effort as you seem to.
Reply With Quote Quick reply to this message  
Join Date: Jun 2008
Posts: 58
Reputation: vckicks is an unknown quantity at this point 
Solved Threads: 9
vckicks vckicks is offline Offline
Junior Poster in Training

Re: Making a tetris game.

 
0
  #7
Nov 12th, 2008
I tried writing tetris a while back (not for C#) but trust me on this: make blocks classes and then use small arrays to hold 4 blocks in different positions (to make pieces). That will make it MUCH easier when it comes time to break pieces apart as rows disappear.
Visual C# Kicks - Free C# code resources and articles.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C# Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC