Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
// Generates random number in range (lower - upper).
unsigned int GetRandom(unsigned int lower, unsigned int upper)
{
unsigned int num = (unsigned int)(rand() % (upper - lower + 1)) + lower;
return num;
}
// Use current time as seed for random generator during testing
srand((unsigned int)rtcc.time.seconds*rtcc.time.minutes*rtcc.time.hour);