When you select a tile, it will show how far it is from the winning tile without factoring in diagonal movements. The winning tile will reveal an X.