love.math.random
Generates a pseudo-random number in a platform independent manner. The default love.run seeds this function at startup, so you generally don't need to seed it yourself.
number = love.math.random()
number number The pseudo-random number.
number = love.math.random( max )
max number The maximum possible value it should return.
number number The pseudo-random integer number.
number = love.math.random( min, max )
min number The minimum possible value it should return.
max number The maximum possible value it should return.
number number The pseudo-random integer number.