Line of sight Andre Michelle have been doing some nice algorithms for tile games. First there’s a “Line of sight” algorithm, which looks great. Also there’s a “Key catcher”, that you might find useful. Check out his site, lots of cool stuff.