danketv_user wrote:I just love these mind-twisting assignment operations! Nice and simple solution qaisjp!qaisjp wrote:Code: Select all
tab[i], tab[r] = type(tab[r])=="table" and shuffle(tab[r]) or tab[r], type(tab[i])=="table" and shuffle(tab[i]) or tab[i]
How should I scramble a table?
Re: How should I scramble a table?
Lua is not an acronym.
Re: How should I scramble a table?
(Thanks)
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Who is online
Users browsing this forum: No registered users and 0 guests