+ 5
Post a code that relies heavily on random functions!
I'm interested to see the true potential of random functions, Im looking for ideas and inspiration... Anyone have any codes the rely heavily on random functions? post them in comments and I'll upvote, be sure to upvote mine! Thanks guys. https://code.sololearn.com/cL3Rx2Cz1W1y/?ref=app
9 Answers
+ 4
https://code.sololearn.com/Wzzt1aZK3nQC/?ref=app
https://code.sololearn.com/WrsvmVbC2iD2/?ref=app
https://code.sololearn.com/Wz5cs5TAU1iN/?ref=app
https://code.sololearn.com/W01q2RTV4aXB/?ref=app
+ 2
Jordan Patterson in the v2.1 on line 768 you can either change the seed to get another galaxy or comment out the line to get a different galaxy every time
+ 2
Jordan Patterson on line 768 call the seed method without parameters
+ 2
Jordan Patterson thank you
+ 1
đ€ Basile Laderchi I really like your galaxy generator, makes sense and is fun to play with!
+ 1
đ€ Basile Laderchi that's very nice! Is their a way to set the seed relative to the current time? That's how to achieve true random.. I'm not sure if you're able to do them on your languages but!
+ 1
đ€ Basile Laderchi Truly amazing
0
My Destiny-Esque Weapon Perk Generator.
https://code.sololearn.com/cDXPmeYlvX37/?ref=app