I am making a memory game. I need to store name, image, color.
All the 3 will be choosen randomly and be assosciated together.
Ex:
So I will have a list of 10 names, 10 images, and 10 colors. I guess I will create 3 array: images, name and color.
I will then choose randomly in each array something and put them together to create a person.
Ex: Alex, image xyz, yellow color.
But that process will be repeated 100 time to create 100 persons. Do I need to create 100 array to store them. Is there another way?
Thanks