Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Thanks in advance.
Request sent.
This tool is perfect for a game I am developing on TTS.
With your permission, I would like to feature it in the game and credit you accordingly.
Any other advice or information is much appreciated.
Many thanks.
Are you sure my method suffers from any of those biases from the wiki article? Your method IS lighter weight (I use 2 random numbers while you only use one), but they seem to be providing similar results.
It should be something like:
function shuffleTable(table)
for i = #table, 2, -1 do
local n = math.random(i)
table , table[n] = table[n], table
end
return table
end