You'll want to seed your random number generator by calling math.randomseed() before calling math.random(). It's pretty common to use os.time() as the seed ...
確定! 回上一頁