Using Java, create a craps game using JOptionPane Dialog box. Conditions in the game prompt users to place bets, after user win or loses allow user to press Y to continue playing and place bets and continue playing. If user chooses "N" for No program will prompt a message buh bye, ends the game showing win / lost record and display user winnings or lost. for bets user can't place more than $200 or less than $1.

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter4: Making Decisions
Section: Chapter Questions
Problem 1GZ
icon
Related questions
Question

Using Java, create a craps game using JOptionPane Dialog box. Conditions in the game prompt users to place bets, after user win or loses allow user to press Y to continue playing and place bets and continue playing. If user chooses "N" for No program will prompt a message buh bye, ends the game showing win / lost record and display user winnings or lost.

  • for bets user can't place more than $200 or less than $1.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Mathematical functions
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,