Hi there,
I am trying to work out a way I can choose a random integer between 0 and 10, but not roll the same number as the previous roll. So:
the first roll, it would choose any number between the specified range - say I roll a 5.
the second time, it would choose an integer within the boundaries, but excluding the previous number - say I roll a 9.
the next roll, again it would be within 0 and 10, but only 9 is now excluded, 5 is put back in the available numbers - and for example purposes, I roll a 5.
and so on...
Any help would be greatly appreciated :)
KingD.
Also, if I'm being a bit vague, ask and I'll explain further :)
1