Starting a Tetris game in Java
Ok, I''m sort of a beginner to doing games..wouldn''t say I was a beginner to Java (not really anyway ). My final year at college has this class called integrative unit and one of my lecturers said I sohlud design and create a tetris game in java as a good start.
Heres the problem: First off.....I dont have a clue where to start. I had objects planned (user, board & brick). But since I''ve just started AWT in java.....I''m very corncered about getting started. I''m not sure about what to do method wise for each object........how to draw the friggen blocks, rotate them, collision detection(just about everything you need to know to do the damn game)
First off...I refuse to steal someone''s coding as I wouldn''t really be learning and its cheating.
Secondly..I cant expect someone to sit and tell me everything as its unfair on them. I really need some site....like "how to start a tetris game in java", but all I get is tetris assignment PDFs that give you the friggen code that I cant understand....
If anyone could help me a bit, I would be very greatfull
Thanks for reading
Zee
quote: First off...I refuse to steal someone's coding as I wouldn't really be learning and its cheating.
You can see my tetris applet at
www.geocities.com/nonnus29/index.htm
The source code is also there. Reading source code is one of the best ways to learn how to program games, you can look at mine to see how I did it.
Heres a hint: You said you'll be using AWT; look up "Graphics" in the Javadocs.
EDIT: Second hint; goto to the java forum for people into java game programming.
[edited by - nonnus29 on September 6, 2002 6:04:10 PM]
Thanks, I''m starting to get a good idea of what needs to be done.....btw, in your opinion, do you think tetris is a good place to start for a beginner?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement