Search:

Type: Posts; User: aussiemcgr

Search: Search took 0.10 seconds.

  1. Replies
    12
    Views
    2,493

    [SOLVED] Re: Help printing random dice

    Alternatively, you can prompt the user in the beginning for the number of dice they want made. You can then set the size of the array according to what they wanted. That way you don't have to worry...
  2. Replies
    12
    Views
    2,493

    [SOLVED] Re: Help printing random dice

    An infinite number of dice? Yes it is possible, but it would not very practical as you could never print them all out (since there are an infinite amount.

    To create an infinite number of dice (or...
  3. Replies
    12
    Views
    2,493

    [SOLVED] Re: Help printing random dice

    I will show you how I did my arrays since it doesn't actually give you the logic for creating the dice.


    //Create an array of dice. This array holds 20 dice
    int[] dieType = new int[20];
    //Loop...
  4. Replies
    12
    Views
    2,493

    [SOLVED] Re: Help printing random dice

    There really isn't an elegant way for this part. Since you know the number of die that will be printed, I would have an array of ints (representing what type of die each die should be going from left...
  5. Replies
    12
    Views
    2,493

    [SOLVED] Re: Help printing random dice

    This is one of those things that I really wish I could do for you. Sounds like fun. But I won't since you seem to be doing this for your own personal interests.

    I'll give you some hints on how to...
Results 1 to 5 of 5