If you’re procedurally generating the tiles, you could add the “location” for the middle of each tile into a vector array that the player would hold/be able to access somehow.
Increment upon that array and remove an index each time you move.
Again, you’d want to use the AI move to though.
Hope this helps!