Fantasy computer for making, playing and sharing tiny games. · By Nesbox
how can we get random numbers? i tried everything from lua documentation and examples, nothing worked...
use the math.random
math.random () = float between 0 and 1
math.random (n1) = between 0 and nb1
math.random (n1, n2) = between n1 and n2
thanks
thanks! it's working! (updated https://tic.computer/play?cart=321 )