I understand, It's very much an observational style where we could have done more to showcase the rules.
The number you press swaps with the number that many spaces away from it to the right. And we are allowed to wrap back to the leftmost number if we go beyond the rightside edge. If you ever give it another go we would love to hear from you again!