I am creating a game where I want to match a line of sprites from left of grid to the right side (and possibly vertically too but guessing that is really complex).
So for example a grid of 8 x 8 sprites where the idea is to connect the left hand side to the right hand side.
The main complexity i see though it the lines wont be straight they might start top left and end up bottom right to connect.
hope this makes sense, any suggestions on where to start would be much appreciated!
Edit: This is what I am trying to do, detect when there is a connection.
<img src="http://www.curv.co.uk/Untitled-1.jpg" border="0" />