Simple Array Shuffle

You're viewing a single comment in a conversation. View all the comments

  • Order by
  • I'm not sure if this is correct. When you delete array element, you just make it "empty". The "pick" (random 1-4) can still eventually select this unexisting index. How can you make to NOT select again already picked index from the Array_Temp?