Consider math.randomseed(os.time()) to get different sequences at each run. Lua. function(x) for i = #x, 2, -1 do local j = math.random(i) x[i], ...
確定! 回上一頁