+ 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

19th Apr 2018, 11:44 AM
Jordan Patterson
Jordan Patterson - avatar
9 Answers
29th Apr 2018, 12:55 PM
đŸ€– Basile Laderchi
+ 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
3rd May 2018, 7:44 AM
đŸ€– Basile Laderchi
+ 2
Jordan Patterson on line 768 call the seed method without parameters
3rd May 2018, 9:27 AM
đŸ€– Basile Laderchi
+ 2
3rd May 2018, 9:33 AM
đŸ€– Basile Laderchi
+ 1
đŸ€– Basile Laderchi I really like your galaxy generator, makes sense and is fun to play with!
3rd May 2018, 5:05 AM
Jordan Patterson
Jordan Patterson - avatar
+ 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!
3rd May 2018, 9:14 AM
Jordan Patterson
Jordan Patterson - avatar
+ 1
3rd May 2018, 9:29 AM
Jordan Patterson
Jordan Patterson - avatar
0
My Destiny-Esque Weapon Perk Generator. https://code.sololearn.com/cDXPmeYlvX37/?ref=app
4th May 2018, 2:58 PM
Richard Case
Richard Case - avatar