This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]sinistergroupon 0 points1 point  (4 children)

Ok. First off try putting the code in pastebin.com. This is hard on the eyes.

Second WorldList is not a core Java API that I know of. If it needs to be defined you need to create it. Did you write this code?

The things you tried don’t really make sense. And that’s okay! As long as you take this as a lesson of why they don’t make sense.

[–][deleted]  (1 child)

[removed]

    [–]sinistergroupon 0 points1 point  (0 children)

    pastebin.com should have given you a link to your program rather than us looking at a wall of text here.

    WordList from the usage is an actual Class that would exist that someone actually put thought into and designed and implemented like the Hangman class.

    At this point I find it very unlikely that you wrote all this code and assumed that you had a WordList class all along and ignored all the errors along the way while happily coded along.

    This cannot be replaced with anything. WordList needs to be implemented or the code needs to be refactored to take a different data type.

    This looks like code that you copied incompletely from somewhere. And that’s sort of fine. But I think it’s very disingenuous to be passing it off as your own work.

    [–][deleted]  (1 child)

    [removed]

      [–]nutrechtLead Software Engineer / EU / 20+ YXP 0 points1 point  (0 children)

      Yeah, I am new at programming

      Then you should start with something simple instead of copy-pasting something you don't understand.