Computer Science Canada can whatdotcolor work in the grid? |
Author: | MysticVegeta [ Sun May 22, 2005 1:32 pm ] |
Post subject: | can whatdotcolor work in the grid? |
Hi, I am making a word search and i have letter plotted in a grid. Now to check whether a location has the letter that the user inputs, is there a way i can use whatdotcolor to do the task? Or is there any way? |
Author: | Cervantes [ Sun May 22, 2005 1:42 pm ] |
Post subject: | |
Ack, whatdotcolour! Just use a 2D array to store the character in each spot, and when a location in selected you can construct a word based on the characters selected and the direction they were selected in. Then compare this newly constructed word to the words that the user is searching for. |
Author: | MysticVegeta [ Sun May 22, 2005 2:06 pm ] |
Post subject: | |
oh yea lol. I forgot to edit my post, it came to my mind when i was taking a shower lol. Thanks |