I have a question. Right now I'm working on rather simple game. But it has many randomizations. About 10 of them on each run and it's running it over and over. I'm using srand(time(NULL)) and rand()%x+y. Still, it often sends me series of same numbers or even complete set of for example fives. What do I need to do to get rid of this problem? Thanks in advance :)