Search:

Type: Posts; User: clyxee

Search: Search took 0.17 seconds.

  1. Replies
    16
    Views
    761

    Re: Help me please !

    if you are doing your code at eclipse then ctrl+shift+f makes the code beautiful.
  2. Replies
    16
    Views
    761

    Re: Help me please !

    Do you have more questions? Perhaps i can help too :)
  3. Replies
    21
    Views
    377

    [SOLVED] Re: For loop to create string.

    Oh my god i got it :) Thank you so much Norm !!
  4. Replies
    21
    Views
    377

    [SOLVED] Re: For loop to create string.

    How should i do that ? give a string and then replace letters or how ?
  5. Replies
    21
    Views
    377

    [SOLVED] Re: For loop to create string.

    It was pretty confusing, that's why i asked if there's other ways to do it :) Thank you Norm
    Now i have another question: How can i compare the end result with the original word, to stop the game ?
  6. Replies
    21
    Views
    377

    [SOLVED] Re: For loop to create string.

    public class Test {

    public static ArrayList<String> allLetters = new ArrayList<String>();
    public static String letters[] = { "p", "e", "l", "a", "c", "d" };
    public static String userWord,...
  7. Replies
    21
    Views
    377

    [SOLVED] Re: For loop to create string.

    public class Test {

    public static ArrayList<String> allLetters = new ArrayList<String>();
    public static String letters[] = { "p", "e", "l", "a", "c", "d" };
    public static String userWord,...
  8. Replies
    21
    Views
    377

    [SOLVED] Re: For loop to create string.

    public class Test {

    public static ArrayList<String> allLetters = new ArrayList<String>();
    public static String userWord, userGuess;

    public static void...
  9. Replies
    21
    Views
    377

    [SOLVED] Re: For loop to create string.

    Here is the small program [Java] help - Pastebin.com , tho i'm using TextIO to make user input easier.
  10. Replies
    21
    Views
    377

    [SOLVED] Re: For loop to create string.

    When i try to guess word "apple" then everytime i guess a letter the "_" adds in that word..
    my current output is : A _ _ P _ P _ _ _ _ "
    but what i desire is : "A P P _ _ "
  11. Replies
    21
    Views
    377

    [SOLVED] Re: For loop to create string.

    Thank you Norm for clearing that for me, but the end result stays the same as before.
  12. Replies
    21
    Views
    377

    [SOLVED] Re: For loop to create string.

    I'm familiar with arrays and all the tried letters are saved to ArrayList. With a little help from my dear friend google, i came up with this:

    for (int i = 0; i < userWord.length(); i++) {...
  13. Replies
    21
    Views
    377

    [SOLVED] For loop to create string.

    Hi, i'm trying to do a hangman game for my home task, and i got a few problems :)
    the first problem is: How can i return a string from for loop?

    Here is what i got so far:

    for (int i = 0; i <...
  14. Thread: Hello mates !!

    by clyxee
    Replies
    8
    Views
    201

    Re: Hello mates !!

    Yes, it's pretty cold here indeed in winter, but it's beautiful haha :)
  15. Thread: Hello mates !!

    by clyxee
    Replies
    8
    Views
    201

    Re: Hello mates !!

    Why dont you guys come to Estonia sometime :P
  16. Replies
    2
    Views
    250

    Re: Need help with home task.

    Hey.
    That's a very nice idea, maybe i can add something to it too, like user input kind of stuff that they can change the sizes and colors maybe ?
    Anybody got more ideas ? :)
  17. Replies
    2
    Views
    250

    Need help with home task.

    I have to write a program in java that includes arrays,loops,object orientation + all the basic stuff. So i'm in trouble finding a program to write :(
    Maybe you guys got any ideas what to write in...
  18. Thread: Hello mates !!

    by clyxee
    Replies
    8
    Views
    201

    Hello mates !!

    Hi everyone !!
    So i looked for an awesome java forum and found this, been busy looking the threads and found this forum interesting so i registered :)
    Something about me: i'm from Estonia and i'm a...
Results 1 to 18 of 18