No problem
I am away to do some coding now so I will let you folks no in a couple of days. No worrys about the formatting although your latest addition really helps even more.
I have had grief about my own formatting before but as you say it is indeed a knightmare to format certain stuff in a forum post, still the meaning is conveyed and that is what counts.
I did binary trees in college waaay back but this is the first time I have used them in a project along with linked lists and I believe once I up my coding skill just a little more and get my binary trees layed out well I will have my ai done as I more or less understand the searches. After AI my project will have some life and I dont think I will have any motivation issues when I get to that point; I see at this time a hurdle overcome and soon after actually being able to play my game. (I imagine that must be a great place to be as a developer)
Btw It seems like my previous way of a linked list then a neighbours list within each node MAY have worked, I am about to create a new project and try things the way suggested however I ran a heap of test data into a file and I included the LAST portion of that test data
I did all this and not the whole file because people may have taken it as spam even though it is not, anyway here it is
IT starts from X[67] Y[23[ , coord base just means the curent element hasneighbour [someneighbou, has neighbour[some nighbour] etc
Coordbase: X[67], Y[23] Has neigh: X[67], Y[22]
Has neigh: X[67], Y[24]
Has neigh: X[66], Y[23]
Has neigh: X[68], Y[23]
Coordbase: X[68], Y[23] Has neigh: X[68], Y[22]
Has neigh: X[68], Y[24]
Has neigh: X[67], Y[23]
Has neigh: X[69], Y[23]
Coordbase: X[69], Y[23] Has neigh: X[69], Y[22]
Has neigh: X[69], Y[24]
Has neigh: X[68], Y[23]
Has neigh: X[70], Y[23]
Coordbase: X[70], Y[23] Has neigh: X[70], Y[22]
Has neigh: X[70], Y[24]
Has neigh: X[69], Y[23]
Has neigh: X[71], Y[23]
Coordbase: X[71], Y[23] Has neigh: X[71], Y[22]
Has neigh: X[71], Y[24]
Has neigh: X[70], Y[23]
Has neigh: X[72], Y[23]
Coordbase: X[72], Y[23] Has neigh: X[72], Y[22]
Has neigh: X[72], Y[24]
Has neigh: X[71], Y[23]
Has neigh: X[73], Y[23]
Coordbase: X[73], Y[23] Has neigh: X[73], Y[22]
Has neigh: X[73], Y[24]
Has neigh: X[72], Y[23]
Has neigh: X[74], Y[23]
Coordbase: X[74], Y[23] Has neigh: X[74], Y[22]
Has neigh: X[74], Y[24]
Has neigh: X[73], Y[23]
Has neigh: X[75], Y[23]
Coordbase: X[75], Y[23] Has neigh: X[75], Y[22]
Has neigh: X[75], Y[24]
Has neigh: X[74], Y[23]
Has neigh: X[76], Y[23]
Coordbase: X[76], Y[23] Has neigh: X[76], Y[22]
Has neigh: X[76], Y[24]
Has neigh: X[75], Y[23]
Has neigh: X[77], Y[23]
Coordbase: X[77], Y[23] Has neigh: X[77], Y[22]
Has neigh: X[77], Y[24]
Has neigh: X[76], Y[23]
Has neigh: X[78], Y[23]
Coordbase: X[78], Y[23] Has neigh: X[78], Y[22]
Has neigh: X[78], Y[24]
Has neigh: X[77], Y[23]
Has neigh: X[79], Y[23]
Coordbase: X[79], Y[23] Has neigh: X[79], Y[22]
Has neigh: X[79], Y[24]
Has neigh: X[78], Y[23]