if you want it to be simpler, you can remove the timer, but that would remove the feature where the player can hold the button to cycle through the locations. the rest of the code is necessary, it just increments an integer index, bounds checks that index so its within the size of the array, and sets the location of the pawn. it honestly cant get any simpler than that without breaking the functionality or safety of the operation.