Random Table Values
Hello,
I'm working on a memory type game with cards that can be flipped over and matched together. I want all of the cards to be in random positions every time you play the game. So I made a table and I want to fill it with random values that are repeated only once but there is no way to do this easily and I'm having a hard time visualizing exactly what I need to do to make this happen. If anyone can help I'l be very grateful.
Thanks,
Flamingbanana
I'm working on a memory type game with cards that can be flipped over and matched together. I want all of the cards to be in random positions every time you play the game. So I made a table and I want to fill it with random values that are repeated only once but there is no way to do this easily and I'm having a hard time visualizing exactly what I need to do to make this happen. If anyone can help I'l be very grateful.
Thanks,
Flamingbanana
Best Answer
-
EatingMyHat Posts: 1,246
I believe there is a cards matching template on the marketplace. It was not done with tables, but I'm sure tables can help.
Tshirt have a video in that shows how you can select from a list without repeating values (using writeable tables). Basically, one table is the list and as you select a random value you remove that row from the table.
Cheers,
GR
Answers