[Solved]Random numbers generator

What’s the proper way to get a random number? rand() returns the same value for me each time even when srand got seeded by a number like cycles passed or game.getTime().

1 Like

bug. adding this to bug reports

2 Likes

Random is now initiated using battery level and seconds from RTC

3 Likes