Tetris

Anything related in any way to game development as a whole is welcome here. Tell us about your game, grace us with your project, show us your new YouTube video, etc.

Moderator: PC Supremacists

Post Reply
EdEown
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 30
Joined: Sat Dec 19, 2009 5:00 pm
Favorite Gaming Platforms: PS3
Programming Language of Choice: C#
Location: Bosnia and Herzegovina

Tetris

Post by EdEown »

Hello every one.

I just started in game developing and so far I learn some useful things, I am almost able to create my own pong game. What I want to know
is there any tutorail out there which can help me create tetris game. I heard it is one of the games that contain basics of all games, eaven 3D ones.
So if any one has link or his own tutoral plz :D. I would be thankful ;).

Cheers
EE
"There is nothing either good or bad, but our thinking makes it so"
andrew
Chaos Rift Regular
Chaos Rift Regular
Posts: 121
Joined: Mon Dec 08, 2008 2:12 pm

Re: Tetris

Post by andrew »

Here is one. :)
newbie1234
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 15
Joined: Fri May 15, 2009 9:01 am
Current Project: I'm currently making my own GUI
Favorite Gaming Platforms: Err... Linux?
Programming Language of Choice: C++
Location: St. Petersburg, Russian Federation

Re: Tetris

Post by newbie1234 »

EdEown wrote:Hello every one.

I just started in game developing and so far I learn some useful things, I am almost able to create my own pong game. What I want to know
is there any tutorail out there which can help me create tetris game. I heard it is one of the games that contain basics of all games, eaven 3D ones.
So if any one has link or his own tutoral plz :D. I would be thankful ;).

Cheers
EE
There isn't a tutorial on how to make a game out there. You need to figure out the logic behind the game yourself. It might be hard at first, but as you will become more and more experienced, this process will become much more easier. :cheers:
EdEown
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 30
Joined: Sat Dec 19, 2009 5:00 pm
Favorite Gaming Platforms: PS3
Programming Language of Choice: C#
Location: Bosnia and Herzegovina

Re: Tetris

Post by EdEown »

Hey thanks for the tutorial link..it is good, but I forgot to tell that I want to focus on c#..sorry
"There is nothing either good or bad, but our thinking makes it so"
EdEown
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 30
Joined: Sat Dec 19, 2009 5:00 pm
Favorite Gaming Platforms: PS3
Programming Language of Choice: C#
Location: Bosnia and Herzegovina

Re: Tetris

Post by EdEown »

newbie1234 wrote:
EdEown wrote:Hello every one.

I just started in game developing and so far I learn some useful things, I am almost able to create my own pong game. What I want to know
is there any tutorail out there which can help me create tetris game. I heard it is one of the games that contain basics of all games, eaven 3D ones.
So if any one has link or his own tutoral plz :D. I would be thankful ;).

Cheers
EE
There isn't a tutorial on how to make a game out there. You need to figure out the logic behind the game yourself. It might be hard at first, but as you will become more and more experienced, this process will become much more easier. :cheers:
Ah I know that, but don't know where to learn things like to make object (in this case tetris) come automatically and randomly...I don't know where to find that stuff. Ah well I will probably learn it as time passes.
"There is nothing either good or bad, but our thinking makes it so"
User avatar
GroundUpEngine
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 835
Joined: Sun Nov 08, 2009 2:01 pm
Current Project: mixture
Favorite Gaming Platforms: PC
Programming Language of Choice: C++
Location: UK

Re: Tetris

Post by GroundUpEngine »

EdEown wrote:Hey thanks for the tutorial link..it is good, but I forgot to tell that I want to focus on c#..sorry
Edit:

What he said.
|
|
|
Ë…
Last edited by GroundUpEngine on Sun Dec 27, 2009 6:36 pm, edited 1 time in total.
XianForce
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 767
Joined: Wed Oct 29, 2008 8:36 pm

Re: Tetris

Post by XianForce »

EdEown wrote:Hey thanks for the tutorial link..it is good, but I forgot to tell that I want to focus on c#..sorry
Shouldn't matter. If you need a flat out guide that is in C# to help you along the way, then I think you need some more experience. You should be able to look at it, and find concepts, not code, and apply them in whatever language you want.
XianForce
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 767
Joined: Wed Oct 29, 2008 8:36 pm

Re: Tetris

Post by XianForce »

XianForce wrote:
EdEown wrote:Hey thanks for the tutorial link..it is good, but I forgot to tell that I want to focus on c#..sorry
Shouldn't matter. If you need a flat out guide that is in C# to help you along the way, then I think you need some more experience. You should be able to look at it, and find concepts, not code, and apply them in whatever language you want.
EDIT: Unless the guide incredibly sucks that is... but I doubt that =p.
User avatar
dandymcgee
ES Beta Backer
ES Beta Backer
Posts: 4709
Joined: Tue Apr 29, 2008 3:24 pm
Current Project: https://github.com/dbechrd/RicoTech
Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
Programming Language of Choice: C
Location: San Francisco
Contact:

Re: Tetris

Post by dandymcgee »

XianForce wrote:
EdEown wrote:Hey thanks for the tutorial link..it is good, but I forgot to tell that I want to focus on c#..sorry
Shouldn't matter. If you need a flat out guide that is in C# to help you along the way, then I think you need some more experience. You should be able to look at it, and find concepts, not code, and apply them in whatever language you want.
I disagree. While this is definitely a useful skill to have, it is to be learned over time. When I first started with SDL I didn't use a Direct3D tutorial to learn the concepts, I used an SDL tutorial.

Unfortunately I couldn't find a decent C# tutorial, although here is a tetris game in C# if you'd like to screw around with some code:
http://www.codeproject.com/KB/cs/moemeka4.aspx

Andrew's post is definitely an excellent tutorial, and even if you don't know how to apply the concepts to C# right now I would recommend you read it anyways. I have no idea what your programming experience is, but if you don't know what

Code: Select all

int[] example = new int[50];
does (Hint: look up arrays) in C#, you definitely need to check out some more basic C# tutorials before you even consider tetris.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches! :twisted:
EdEown
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 30
Joined: Sat Dec 19, 2009 5:00 pm
Favorite Gaming Platforms: PS3
Programming Language of Choice: C#
Location: Bosnia and Herzegovina

Re: Tetris

Post by EdEown »

dandymcgee wrote:
XianForce wrote:
EdEown wrote:Hey thanks for the tutorial link..it is good, but I forgot to tell that I want to focus on c#..sorry
Shouldn't matter. If you need a flat out guide that is in C# to help you along the way, then I think you need some more experience. You should be able to look at it, and find concepts, not code, and apply them in whatever language you want.
I disagree. While this is definitely a useful skill to have, it is to be learned over time. When I first started with SDL I didn't use a Direct3D tutorial to learn the concepts, I used an SDL tutorial.

Unfortunately I couldn't find a decent C# tutorial, although here is a tetris game in C# if you'd like to screw around with some code:
http://www.codeproject.com/KB/cs/moemeka4.aspx

Andrew's post is definitely an excellent tutorial, and even if you don't know how to apply the concepts to C# right now I would recommend you read it anyways. I have no idea what your programming experience is, but if you don't know what

Code: Select all

int[] example = new int[50];
does (Hint: look up arrays) in C#, you definitely need to check out some more basic C# tutorials before you even consider tetris.


I am doing one begginers tutorial for C#. But I am kind of worried because I understand everything he is explaining and when I try to do it by my self...upp i cant do it, I just get stuck and need to get back on tutorial to see how he did it and when I see it I understand why he did it but I just cant write it on my own. Do I need to learn by hart because that is kind of bad.?.. Do I have to pass more begginers tutorials and books or I should all get it in one.
"There is nothing either good or bad, but our thinking makes it so"
User avatar
dandymcgee
ES Beta Backer
ES Beta Backer
Posts: 4709
Joined: Tue Apr 29, 2008 3:24 pm
Current Project: https://github.com/dbechrd/RicoTech
Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
Programming Language of Choice: C
Location: San Francisco
Contact:

Re: Tetris

Post by dandymcgee »

EdEown wrote: I am doing one begginers tutorial for C#. But I am kind of worried because I understand everything he is explaining and when I try to do it by my self...upp i cant do it, I just get stuck and need to get back on tutorial to see how he did it and when I see it I understand why he did it but I just cant write it on my own. Do I need to learn by hart because that is kind of bad.?.. Do I have to pass more begginers tutorials and books or I should all get it in one.
I guess it depends which parts you aren't remembering. If you mean actual syntax or function calls, don't even bother trying to learn those as you'll inevitably end up becoming so familiar with them you will know them automatically, and the one's you still don't know you can look up. That's what references are for. If you mean the implementation of the task at hand, that is part of programming most programmers enjoy coming up with the most, although it can, at times, be difficult to do. Similarly, you will become more and more skilled as time goes on and your programming experience grows at concocting your own evil plans for implementing crazy algorithms you came up with while doodling in macroeconomics class. ;)

So my advice is simple: start programming. It really doesn't matter what, or with what, just that you are actively making anything. In most cases people learn best when the goal is just out of the reach of their current skill level, which forces them to learn new things and apply those things to achieve that goal.

And always remember, if you can't figure it out on your own, and google isn't being much help, post your questions here. Even if no one else is (doubtful), I am willing to help you out to the best of my abilities.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches! :twisted:
EdEown
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 30
Joined: Sat Dec 19, 2009 5:00 pm
Favorite Gaming Platforms: PS3
Programming Language of Choice: C#
Location: Bosnia and Herzegovina

Re: Tetris

Post by EdEown »

dandymcgee wrote:
EdEown wrote: I am doing one begginers tutorial for C#. But I am kind of worried because I understand everything he is explaining and when I try to do it by my self...upp i cant do it, I just get stuck and need to get back on tutorial to see how he did it and when I see it I understand why he did it but I just cant write it on my own. Do I need to learn by hart because that is kind of bad.?.. Do I have to pass more begginers tutorials and books or I should all get it in one.
I guess it depends which parts you aren't remembering. If you mean actual syntax or function calls, don't even bother trying to learn those as you'll inevitably end up becoming so familiar with them you will know them automatically, and the one's you still don't know you can look up. That's what references are for. If you mean the implementation of the task at hand, that is part of programming most programmers enjoy coming up with the most, although it can, at times, be difficult to do. Similarly, you will become more and more skilled as time goes on and your programming experience grows at concocting your own evil plans for implementing crazy algorithms you came up with while doodling in macroeconomics class. ;)

So my advice is simple: start programming. It really doesn't matter what, or with what, just that you are actively making anything. In most cases people learn best when the goal is just out of the reach of their current skill level, which forces them to learn new things and apply those things to achieve that goal.

And always remember, if you can't figure it out on your own, and google isn't being much help, post your questions here. Even if no one else is (doubtful), I am willing to help you out to the best of my abilities.

Thnkas man

Well I actually have problem learning loops and methods I kind of dont get them here is the link of tutorials from which I am learning..I dont really know are they good

http://www.freewebs.com/campelmxna/tutorials.htm

I know variables good and I created small text game on my own sing some basic Random classes and so, but why is "if statment" diffrent from "Switch" when they almost same functions. I understand many of things but I have problem with knowing when to put { }, or why sometimes they use Console.Writeln();..whz is it needed with those empty brackets.

But I am in programing for about a week or less now :P...still needs lot of time >P
"There is nothing either good or bad, but our thinking makes it so"
Post Reply