FANDOM


The first distance metric used in brogue is king's moves. A king in chess takes one step orthogonally or diagonally, and so king's move distance is how many king's moves it would take to get to your destination.


-3 -3 -3 -3 -3 -3 -3
-3 -2 -2 -2 -2 -2 -3
-3 -2 -1 -1 -1 -2 -3
-3 -2 -1 @ -1 -2 -3
-3 -2 -1 -1 -1 -2 -3
-3 -2 -2 -2 -2 -2 -3
-3 -3 -3 -3 -3 -3 -3


The second distance metric used in Brogue is the scent map distance metric, where your scent is placed on every tile in LOS, and it is weakened by distance by doubling the longer direction and adding the shorter direction, like follows:

-9 -8 -7 -6 -7 -8 -9
-8 -6 -5 -4 -5 -6 -8
-7 -5 -3 -2 -3 -5 -7
-6 -4 -2 @ -2 -4 -6
-7 -5 -3 -2 -3 -5 -7
-8 -6 -5 -4 -5 -6 -8
-9 -8 -7 -6 -7 -8 -9

The scent map is created this way to encourage monsters to take orthogonal paths toward you, making it harder to escape them, instead of diagonals.

The last distance metric in Brogue is the cost map, which is what the rogue's long distance move, allies and monsters use to determine the best path to their location. It excludes terrain that would currently block them, forces them to navigate around walls, assigns higher costs to tiles that potentially have traps/dangerous tiles, et cetera.

Community content is available under CC-BY-SA unless otherwise noted.