Jamie Rico

Greenhorn
+ Follow
since Sep 27, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Jamie Rico

Get the grid of letters
get the list of words
pick the next word off the list
search for that word in the grid until it is found or we exhaust the list
continue until there are no more words



I have that written down. I have
1. Make grid of letters
2.Read list of words
3.Search for word one by searching letter by letter
4.Move onto next word
5.Repeat 3-4 until no words left

Logically I know what I need to do. It is implementing it into code.

11 years ago
The words can be found forward, vertically, and diagonally.
I am not sure what you mean by try things out myself.

I have the file scanned in the correct way I believe


I am not sure how to put it into a 10x10 that is searchable.

Once in the array I would run a search for the first letter of the first word, once it finds a match it would search for the second letter below, in front or diagonally down and right. Then continue in the direction it found the next letter, or move on to keep searching if no matches were found.

Am I on the right track?
11 years ago
Hello everyone,
I have a project where I need to make a word search game and I am completely lost.
These are the steps I think I should take, does it sound correct?
Read in the file that has the wordsearch and the guesses
ex
10 10
WVERTICALL
ROOAFFLSAB
ACRILIATOA
NDODKONWDC
DRKESOODDK
OEEPZEGLIW
MSIIHOAERA
ALRKRRIRER
KODIDEDRCD
HELWSLEUTH
10
WEEK
FIND
RANDOM
SLEUTH
BACKWARD
VERTICAL
DIAGONAL
WIKIPEDIA
HORIZONTAL
WORDSEARCH

The first two numbers are rows and columns followed by the wordsearch followed by how many words are in the search, lastly followed by the guesses.
The program is supposed to print out the location of the first letter of the word using (rows,columns) coordinates.

After I read the file in, what should be my next step?
I think it should be putting the wordsearch into an array but I am not sure.
Any help?

Thank you so much
11 years ago