Memory game built with React.
Trilogy Education Services Full-Stack Web Developer Program
University of Miami Cohort - 201710FSF3
Week 19-20 Homework Assignment: React Game Application
Create a memory game with React
For this assignment, I created a memory game with React. This assignment required me to break up my application's UI into components, manage component state, and respond to user events.
-
Created a new React application using Create React App.
-
The application renders different images to the screen. Each image listens for click events.
-
The application keeps track of the user's score. The user's score is incremented when clicking an image for the first time. The user's score resets to 0 if they click the same image more than once.
-
Every time an image is clicked, the images rendered to the page shuffle themselves in a random order.
-
Once the user's score is reset after an incorrect guess, the game restarts.
Melissa Wolowicz (C) 2018. All Rights Reserved.