Answered step by step
Verified Expert Solution
Link Copied!

Question

00
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 with AI-Powered 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

Students also viewed these Databases questions