Share your repls and programming experiences

← Back to all posts
RandNumGen
JacobRogers (30)

My site is a random number generator for games. It can generate any number!!!

Commentshotnewtop
Zavexeon (417)

Cool! I'm working on a die roller too!

But instead of: Math.floor((Math.random() * num))+1

Maybe try: Math.ceil(Math.random() * num)

Not saying your solution is bad, it works perfectly fine, I'm just being nitpicky :P.
Anyways, good job ^w^.