Trying to use modular on my map to make it go back through the values on my array for each players turn

When I go through the code it either skips current tile index[0] or doesn’t even reset I’ve tried moving parts of the code around but I can never get back to the beginning of the array for the map


a better picture