User Tools

Site Tools


number_cube

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
number_cube [2019/09/13 13:39] frchrisnumber_cube [2019/09/16 14:32] (current) frchris
Line 20: Line 20:
         do          do 
         {         {
 +            // roll the cubes and return the sum of the 2 dice
 +            
             System.out.println("Press return to roll, type Q to quit");             System.out.println("Press return to roll, type Q to quit");
             input = kb.nextLine();             input = kb.nextLine();
Line 29: Line 31:
 } }
 </code> </code>
 +
 +Here is a link to a graphical way to make [[https://mathorama.com/apcs/pmwiki.php?n=Main.RollYourOwn|Dice]].
number_cube.txt · Last modified: 2019/09/16 14:32 by frchris

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki