Implementing Fisher-Yates shuffling algorithm

3
  • 13 favourites

Index

Stats

7,382 visits, 16,348 views

Tools

Translations

This tutorial hasn't been translated.

License

This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

Our array size is 10. To change it at the beginning add an On start of layout event.

Add an system (set size of) action for Array, and change the width size of array.

Variable "i" will be used in a decreasing loop. First value for i will be total-1. Add another system action to set the beginning value for i

  • 2 Comments

  • Order by
Want to leave a comment? Login or Register an account!