Implementing Fisher-Yates shuffling algorithm

3

Index

Stats

8,187 visits, 17,659 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.

Published on 14 Feb, 2013. Last updated 19 Feb, 2019

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!