Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

When I tried, I got "nope, it's higher than 18" and "nope, it's lower than 19" :(

"rnd" returns a float, so you should use "n=ceil(rnd(100))" instead of "n=rnd(99)+1".

(2 edits)

Actually i did had "flr(rnd()*99)+1" in there before but due to optimizing for size i've rewrote that and somehow expected rnd with argument returned an integer... ops! Thanks for letting me know... it's fixed now. (i didn't used ceil(rnd(100)) because that returns 0 for absolute 0.00)