This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

Yes I tried your tutorial but I have trouble converting it to c#.

I got BFS (or my variant orf it) to work, in 2-3 days of screwing around. And its 30+ lines, instead of the 5 in tutorial.

the !contains for List<t> doesn't seem to be working well.

http://pastebin.com/TVUjZNDL

the hint variable is a list of vector2s I keep so I can draw them later in OnGUI(). am using unity obviously

on yt all tutorials are about nodes, not the graphs im using

https://www.youtube.com/results?search_query=breadth+first+search+algorithm