I'm trying to create a very simple game of craps but having some trouble. Java Small Projects. Code: /** * @author Anand * @version.
Craps code in Java. Compilation: javac Craps. java * Execution: java Craps * * Play 1 million games of craps and print probability of winning.
Instantly share code, notes, and snippets. Star 0 · Fork 0 Code Revisions 1 · Raw. Craps. java .. while((worldofdiscovery.infoIgnoreCase("")))//select a game. You don't actually need a do while though, you want to run until one of the conditions breaks you out of the while loop. Sign up for free. How to Play Craps. You may not post replies. Sign up or log in. I am new to Java and was trying to learn by doing some excercises that I found online.