In Java, Write an application called Scramble that has a GUI to play a game of w
ID: 3818389 • Letter: I
Question
In Java,
Write an application called Scramble that has a GUI to play a game of word anagrams. Create two arrays of strings. The first array will hold words, and the second will hold scrambled versions of those words. Your Java code can initialize these arrays directly with the words. Display the scrambled version of the word in a label. The user will enter a guess for the word in a text field and press a Check button. You should see whether the guess is correct. If it is not correct, change the guess in the text field to Sorry, that is incorrect. Please try again. If the guess is correct, change it to That is correct. Here is a new word to try and display a new scramble. Also provide a Give Up button. If it is pressed, display the unscrambled word and provide a new scrambled word.Explanation / Answer
-
-
-
-
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.