Question
You roll two dice. Each die has six faces, which contain one, two, three, four, five and six spots, respectively. After the dice have come
You roll two dice. Each die has six faces, which contain one, two, three, four, five and six spots, respectively. After the dice have come to rest, the sum of the spots on the two upward faces is calculated. If the sum is 7 or 11 on the first throw, you win. If the sum is 2, 3 or 12 on the first throw (called craps), you lose (i.e., the house wins). If the sum is 4, 5, 6, 8, 9 or 10 on the first throw, that sum becomes your point. To win, you must continue rolling the dice until you make your point (i.e., roll that same point value). You lose by rolling a 7 before making your point.
You should have 2 individual and complete Netbean project, namely Craps and CrapStat.
CrapStat means an adv. version of Craps with additional information - count of 1s, 2s, 3s, 4s, 5s, and 6s showing after "Player wins" / "Player loses".
Netbean result:
run: Player rolled 4+6=10 Point is 10 Player rolled 4+5=9 Player rolled 4+5=9 Player rolled 2+2=4 Player rolled 2+5=7 Player losesStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started