z-index = (col+row)×10 is recalculated every frame — as the traveling block crosses the grid, the front/back order flips on its own

Traveler z-index = 0