How do I continously randomize values within code??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How do I continously randomize values within code???

I camt quite explain this but, I used to do this by using classes and recall each class to randomize the values, But it isn't working.. https://code.sololearn.com/c1ABwQY4x2G6/?ref=app

4th Feb 2023, 4:24 AM
Shapa
Shapa - avatar
8 Answers
+ 3
You can do it similar to this example: https://code.sololearn.com/cjqnVOICZkkg/?ref=app
4th Feb 2023, 9:52 AM
JaScript
JaScript - avatar
+ 2
This is what I think you want https://code.sololearn.com/c877hX5WXvWj
4th Feb 2023, 8:53 AM
SoloProg
SoloProg - avatar
+ 2
Thank you Soloprog
4th Feb 2023, 2:56 PM
Shapa
Shapa - avatar
+ 1
4th Feb 2023, 3:04 PM
SoloProg
SoloProg - avatar
0
Can you please do it with a class Recall class to change value overtime??? I was able to do it with a dodging puncher game, but I forgot.
4th Feb 2023, 6:03 AM
Shapa
Shapa - avatar
0
Can you do a string array please??? look at my code and run it
4th Feb 2023, 6:42 AM
Shapa
Shapa - avatar
0
Indeed Soloprog.....now Try do it without the constructor🤟🔥🔥🔥
4th Feb 2023, 2:10 PM
Shapa
Shapa - avatar
0
Is it possible to do this with a regular function
14th Oct 2023, 1:49 AM
Shapa
Shapa - avatar