#How to generate a random sequence of numbers with no repeats

2 messages · Page 1 of 1 (latest)

pale lake
#

So basically im making a game where there are 8 possible rooms, and the game will randomly string together 4 of the 8 rooms. I dont want any rooms to appear twice. Does anyone know the best way to go about this?

twilit gale
#

if equals, then chose again

something like that, best way how i did it ones.