I'm making a party game that when started will ideally choose a random level (layout) and upon completing the level, will then choose another level. I've been able to make it do this, the problem is making it not choose a level that has already been played in that session (It will be a first to 3, or 5 wins type of thing)
Having a button that goes to layout by name and having choose("level1","Level2") etc works for the first part, but will of course choose levels already played.
I've also tried an array, to choose a random order of levels and then play through them, but couldn't get that to work as I've never used arrays before, and found it confusing.
If anyone knows how to do it with arrays, or another way, that would be very useful, thanks!