Whoah, you’re at our level cap. Good job, you rock! Here, have some cake.
Community Get activity updates from around Kongregate.
Explore Kongregate & earn 10 kreds Here are your 10 free kreds Explore Kongregate & earn a trophy Here’s a shiny trophy for you 15%
Keep exploring Kongregate with more badges and games!
Hide the progress bar forever? Yes No
6 posts
Sign in to reply
produce a random real value x in the range 0.0<=x<8.0
please
Originally posted by coderTrav:Belongs in the programming section. Check there
Belongs in the programming section. Check there
isn’t that forum for games?
http://www.kongregate.com/forums/4-game-programming
return Math.random()*8;
Math.floor(Math.random() * 8) if you want just ints
X
Loading