Search:

Type: Posts; User: breezy

Search: Search took 0.12 seconds.

  1. Re: DiceGame - Saving Values Of Rolled Die In Int Array

    Alright, I got it working! I put the elements into an array list first and then i was able to get all values into an array.

    Thanks for the help guys!
  2. Re: DiceGame - Saving Values Of Rolled Die In Int Array

    Your assumption is right.

    Right now I am trying my luck with an ArrayList since I dont need to worry about the index so much.

    I'll keep you updated!
  3. Re: DiceGame - Saving Values Of Rolled Die In Int Array

    Unfortunately I have to use an int array.

    I have changed my get method, it gets called with a counter which is incrementet everytime a die is thrown.

    The dieHistorie array now gets filled as...
  4. DiceGame - Saving Values Of Rolled Die In Int Array

    Hey,

    im currently working an Dicegame which consists of the classes Wuerfel.java(translates to Dice), Player.java and the executable class DiceGame.java.

    In the main method 3 Player-objects are...
Results 1 to 4 of 4