I am making a turn - based rpg game in which you fight monsters. i have a question though, Is there a function that can randomize ints without values? Or bool values? Say i created 10 different monters, could randomize them so that you fight a different 1 each time? (without rand) Or do you have to use rand?
There are many ways, but if there's nothing wrong with rand() (there are reasons why someone wouldn't want to use rand(), by the way), you might as well use it.