Array.shuffle()

From ZCubes Wiki
Jump to navigation Jump to search


Array.shuffle()

shuffle the array randomly.

MAGICSQUARE(3)

2 7 6
9 5 1
4 3 8

MAGICSQUARE(3).shuffle()

9 5 1
4 3 8
2 7 6

See Also

random

deal