943,515 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Unsolved
  • Views: 9456
  • C# RSS
Nov 9th, 2008
0

Making a tetris game.

Expand Post »
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?
Similar Threads
Reputation Points: 19
Solved Threads: 1
Light Poster
papuccino1 is offline Offline
45 posts
since Aug 2008
Nov 9th, 2008
0

Re: Making a tetris game.

Try this :
http://www.codeproject.com/KB/cs/moemeka4.aspx
btw congratulations with your son you must already feel like a proud father!
Reputation Points: 2023
Solved Threads: 644
Senior Poster
ddanbe is offline Offline
3,735 posts
since Oct 2008
Nov 9th, 2008
0

Re: Making a tetris game.

Thank you, I can't wait for my baby boy to come! I hope he likes programming like me. *daydreams*
Reputation Points: 19
Solved Threads: 1
Light Poster
papuccino1 is offline Offline
45 posts
since Aug 2008
Nov 9th, 2008
0

Re: Making a tetris game.

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.
Reputation Points: 196
Solved Threads: 190
Posting Virtuoso
LizR is offline Offline
1,735 posts
since Aug 2008
Nov 9th, 2008
0

Re: Making a tetris game.

Thanks Liz, that sounds about right.

What controls do you think are prudent to use in the endevor?
Reputation Points: 19
Solved Threads: 1
Light Poster
papuccino1 is offline Offline
45 posts
since Aug 2008
Nov 9th, 2008
0

Re: Making a tetris game.

Pretty much none other than maybe some buttons if you really want them
Reputation Points: 196
Solved Threads: 190
Posting Virtuoso
LizR is offline Offline
1,735 posts
since Aug 2008
Nov 12th, 2008
0

Re: Making a tetris game.

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.
Reputation Points: 11
Solved Threads: 9
Junior Poster in Training
vckicks is offline Offline
58 posts
since Jun 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: hi
Next Thread in C# Forum Timeline: compiler problem





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC