not sure how to do dice roll

I am supposed to be making a game similar to risk I have an idea what to do after the dice rolling part but cannot figure that part out. It says 'rollDie' is a very simple function but i have not seen anyone use that in their dice code online. Another thing is im supposed to make it roll up to three dice for the attacking side and two for the defending at once any tips?

Your question is unclear. Both questions aren't really explaining what your problem is.

As for rollDie, I can only tell you that afaik it isn't in standard.

Cheers!
Topic archived. No new replies allowed.