You can create a sprite then set it like a cursor.
When you get the number from array, pick the tile that has value equal the number of array, set position of cursor at that position.
So when the cursor collision with the tile, it consider as you click on it
Cheers.