Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PLEASE SOLVE IN JAVA Phase 2 - Hangman Create an application that has the following features: Allow the user to enter a secret word. The

PLEASE SOLVE IN JAVA

Phase 2 - Hangman

Create an application that has the following features:

Allow the user to enter a secret word.

The other user will guess the secret word by guessing letters.

The program will prompt the user by asking them to pick a letter or guess the word.

Each round print the secret word with the letters that have been guessed. With the unknown letters use *.

If the user guesses a letter that is not part of the word, notify the user. The user is only allowed 5 bad guesses during the game otherwise it is game over.

If the user guesses the wrong word then it is game over

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DB2 11 The Ultimate Database For Cloud Analytics And Mobile

Authors: John Campbell, Chris Crone, Gareth Jones, Surekha Parekh, Jay Yothers

1st Edition

1583474013, 978-1583474013

More Books

Students also viewed these Databases questions

Question

Use work breakdown for a cost estimate

Answered: 1 week ago

Question

5. Understand how cultural values influence conflict behavior.

Answered: 1 week ago

Question

8. Explain the relationship between communication and context.

Answered: 1 week ago