Im now making a game where i need icons to moveafter being given random values.

if my icons are called imgplayer1 & imgplayer2,
how do i get them to move backwards and forwards over 24 labels that have been arrayed?