The search functionality needs JavaScript enabled
Return the manhattan distance between two tile coordinates. For two coordinates a and b, this is defined as abs(a.row - b.row) + abs(a.col - b.col)
manhattan
a
b
as
auto long manhattan( RowCol a, RowCol b ) @nogc;