Match check function?
by Tom Biagioni · in Technical Issues · 11/07/2008 (12:58 pm) · 3 replies
How would i go about making a match check function similar to that of bejewed, or even tic tac toe. What im looking for is to have an algorythm that checks each row and column for matches and potential matches, and if a match is found it deletes the matching objects and gives a score.
Thanks!
Thanks!
Torque Owner Nikos Beck
In terms of looking, use a recursive function like "look(%x, %y, %direction)" that returns the number of jewels that match.