Jump to content
  • Advertisement

Joshua D Farrow

  • Content Count

  • Joined

  • Last visited

Community Reputation

116 Neutral

About Joshua D Farrow

  • Rank
  1. Joshua D Farrow

    Code Formatting - Method Organization

      After the responses about using comments on my other post, I went back and looked at all of the comments that I had placed within my code. For the majority of them, all it took was re-reading them to realize that they were completely unnecessary
  2. Three more weeks until graduation. Let's do this.
  3. Is there a way that my methods should be organized?   Ex: By order that they are called, by name, by the order that they pop up in my brain (haha).   I currently use NetBeans as my primary IDE. If anyone else uses it, do you know if there is a way of using the GUI to move methods around, something that is the equivalent to moving folders/files around in Windows Explorer/Finder? I know that it has a handy method list that shows all the current methods, as well as allowing the coder to quickly move between methods by simply clicking on the one of their choice. However, there doesn't seem to be a way to reorganize the methods, short of simply copying and pasting them into place.
  4. Joshua D Farrow

    Code Review - Dice Game (No graphics)

    I know that using global variables is usually frowned upon, but is it okay to use them if I believe that I can do so efficiently?
  5. Joshua D Farrow

    Code Review - Dice Game (No graphics)

      I'm starting to realize this. I'm big about "clearing" the screen whenever changing player turns. I realized that it was a lot simpler to write a small method named clearScreen(), rather than type out:   for(int i=0;i<10;i++) { System.out.println(); }   every single time that I wanted to clear the screen.
  6. Joshua D Farrow

    Code Review - Dice Game (No graphics)

      Thank you so much for this. I know that this code isn't very elaborate, nor is the game. But, I really appreciate the objectiveness you have shown me. I know that sometimes, newbies (like me) are easy to tear apart, since their code is messy and wrong. You guys have really helped me to feel welcome to GameDevs. Thank you for all of your advice.
  7. Joshua D Farrow

    Code Review - Dice Game (No graphics)

    Thanks, both of you, for the advice on using classes. I'm currently reading through a book titled "Java Programming: From the Ground Up", and have just gotten to the basics of OOP. In fact, I think the chapter I'm about to start is about making classes and implementing them correctly.     I'm always afraid that I'm going to have too many methods in my program, so would I clear this up by making custom classes, and then just creating an object that can reference them?     Thanks for this! I'll look it up on Amazon and give it a whirl.
  8. Joshua D Farrow

    Code Review - Dice Game (No graphics)

      Thank you for this 
  9. Joshua D Farrow

    Code Review - Dice Game (No graphics)

    Indifferent,   Thank you so much for your review. Just by looking at my code, I knew that there were a ton of things that could have been done better. Most of the things you pointed out were the issues that I knew needed to be fixed, but wasn't sure how. I highly appreciate you taking the time to review it, and more importantly, that you were nice about it and offered me some solutions. The biggest thing that I would like to learn is coding etiquette and formatting. Do you happen to know of any websites or articles that offer any insight into this? 
  10. This is my first code review post. This is a text-based java game that was very simple to make. I am trying to keep my focus on learning the basics of programming, rather than messing with graphics. Please let me know what I can do better.   Here is the PasteBin link: http://pastebin.com/6ABunV4H  
  11. Joshua D Farrow

    Code Review Basics

    Never mind. Someone else has posted a game of Pong, and I found my answer through that post.
  12. Joshua D Farrow

    Code Review Basics

    I am new to GameDev.net, and so I apologize if this topic has already been posted:   I am wondering how I should go about posting code, in order to receive a code review. Any information or advice on this would be extremely helpful.
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!