Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void diceNumber()
- {
- Random r = new Random();
- int dSidesInt = 4;
- int diceType, max, dice1, dice2;
- diceType = dSidesInt;
- max = dSidesInt;
- dice1 = r.nextInt(max) + 1;
- dice2 = r.nextInt(max) + 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement