make a pseudo random number generator function
(pick a pseudo-random number between (value) and (value))
will essentially pick a predictable number with a correct period length(the period length is supposed to be max value + 1 and between it should be all the numbers between min and max value, this is just to check wether its working correctly)