Click on a card to win a point. Unlock levels with more points. Game gets over if same card is clicked twice
- I downloaded the images beforehand, so had to set up a way to import them efficiently and create the cats data array
- One single click leads to multiple changes, so everything had to be done inside one click handler without making the code messy
- Correctly setting the states and in the right order
- The current click handler solution isn't very elegant
- A faster way to load the images