Im trying to make a deal or no deal like game(for learning purposes) but after searching everywhere i can't find an answer to a huge problem. how do i create a random number generator that only generates specific numbers such as 1, 10, 100, 500... so on and so forth? also when i get an answer to that im realizing another problem. how will i be able to "tell" the other variables that certain numbers have already been taken and go to the next one(so to speak) so that the same number doesnt appear twice(or thrice).
thanks in advance