How do I write a function in vanilla javascript for a Memory Game to generate:
32 cards in total with shapes on them
each shape in 4 colors
2 cards of each color
color shapes
yellow square, triangle, round, oval
green square, triangle, round, oval
blue square, triangle, round, oval
red square, triangle, round, oval