Beginner Java Question
#2 Members - Reputation: 674
Posted 14 March 2012 - 12:19 PM
#3 Members - Reputation: 699
Posted 16 March 2012 - 01:21 AM
If you have still to implement a simple (and yet complete) application, then I would suggest to start with that, so you can familiarize with the problems you are going to face.
#4 Members - Reputation: 600
Posted 16 March 2012 - 07:23 PM
I agree. I was just reading "Coders at Work" that interviews some of the best programmers of our time and one common theme I noticed that a lot of them said that before they even start to code they figured out what data structures they needed and everything else fell into place after that.Its not really a matter of the language: a simple game can be done with basic language features, without (necessarily) involving advanced stuff. What you need, though, is to choose and implement data structures and algorithms, and this is not much related with Java.
If you have still to implement a simple (and yet complete) application, then I would suggest to start with that, so you can familiarize with the problems you are going to face.
#5 Members - Reputation: 202
Posted 20 March 2012 - 04:45 PM
http://math.hws.edu/javanotes/index.html
Go through that online text book, paying careful attention to Chapters 6, 12 and 13.
I'm assuming that you know the basics of Java. If not, best start from the beginning and do all of it.
It's a pretty good resource.
After that go here:
http://lazyfoo.net/articles/article01/index.php
His grammar is a little off, but the advice he gives is sound. I'm still following his progression
I suggest making a text based tic tac toe game, with methods (this is important) and then after you understand how to make a GUI
in Java, transfer it over to a GUI of some sort.
That should teach you the basics of game programming.
I made snake, and Pong after that.
Hope this helps,
Peter
"Other than that I have no opinion"
#6 Members - Reputation: 600
Posted 21 March 2012 - 12:15 AM
Wow that's a pretty good intro to Java from what I could see. Surprised I haven't heard of it before. Will add it to my list of recommendations it to anyone new to Java since it's also free!Here,
http://math.hws.edu/...otes/index.html
Go through that online text book, paying careful attention to Chapters 6, 12 and 13.
I'm assuming that you know the basics of Java. If not, best start from the beginning and do all of it.
It's a pretty good resource.






