Write Gui Program Java Lets User Play Word Guessing Game 1 Game User Provides List Words P Q37124407

Write a GUI program in Java that lets the user play a wordguessing game.

1)In this game the user provides a list of words to theprogram.

2)The program randomly selects one of the words to be guessedfrom this list.

3)The word list is stored in a text file.

4)The player then guesses letters in an attempt to figure outwhat the hidden word might be.

5)The number of guesses are limited to 6 tries and prompts theuser whether or not they guessed the word correctly orincorrectly.

6)Title the game “word guessing game

7) gives the user an option to play again, or quit.


Solution


import java.io.File;
import java.io.FileNotFoundException;
import java.util.ArrayList;
import

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.