I do a global score and if The box destroyed.I gived random Score (0,3)
But The system give 1,65486485
How can I do this number 1,2 or 3?
Not:I know .My english is very bad
to get either 1, 2 or 3 use int(random(1,4))
or
choose(1, 2, 3)
Develop games in your browser. Powerful, performant & highly capable.
thank you codah
Welcome