Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a simple Java program that will allow the user to play a Word Search Game. Firstly, the user will enter a list of words

Create a simple Java program that will allow the user to play a Word Search Game. Firstly, the user will enter a list of words in an Array List line by line until they are finished, and at that point the user can enter 'e' or 'q' to quit entering words. The program will then jump right into converting the Array List to a 1D Array, and this array will be passed on as parameter to the 'Create Word Search' method (this method will be created in a class). Now it is time for the game to be executed.

There will be at least 1 method. More methods are accepted..The user will be shown the word search, grid consisting their words and a bunch of random other letters, and right under the grid will be the list of words for them to find. The user will have to enter a word they see in the grid, followed by its coordinate locations. The program will then verify that this word and location match to any of the words and their locations in the word grid. If it does match, then the user will have a message saying they found the word at this location to them on the screen, followed by the word grid popping up once again, and right under the grid will be updated list of words that will not contain the word the user just found. The user will have to find all words, or they can simply type in 'q' to quit the game. If the user`s word and location does not match to any of the words and their location on the grid., then the program will inform the user that their input was wrong, and they will be shown the word search grid followed by the list of numbers. The user will still have to find this word, or they can just choose to quit the game.

All methods should be created in a class, and there will be another class which will have a main method, and all of the methods will be called in the main method.

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

Intelligent Information And Database Systems Third International Conference Achids 2011 Daegu Korea April 2011 Proceedings Part 2 Lnai 6592

Authors: Ngoc Thanh Nguyen ,Chong-Gun Kim ,Adam Janiak

2011th Edition

3642200419, 978-3642200410

More Books

Students also viewed these Databases questions

Question

4. Explain the strengths and weaknesses of each approach.

Answered: 1 week ago