Skip to content

saltsphinx/memory-card

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project provided by The Odin Project. It puts the learners recent knowledge of the useEffect and useState react hooks to the test by having them build a memory card game. Make a game where users must memorize each card they pick amoung 12, which are rearranged every card pick. A score is kept of the current correct cards, and of the users best score.

Project Assignment

  1. Create a new React Project.

  2. Take some time to think about the features you want to implement, which components you need, how to structure your application, and how to get the images from an API. Your application should include a scoreboard, which counts the current score, and a “Best Score”, which shows the highest score you’ve achieved thus far. There should be a function that displays the cards in a random order anytime a user clicks one. Be sure to invoke that function when the component mounts.

  3. You also need a handful of cards that display images and possibly informational text. These cards and texts need to be fetched from an external API. You can use anything from Giphy to a Pokemon API.

  4. Now that you’ve thought about the structure of your application, set up the folder structure and start creating the components.

  5. Style your application so you can show it off!

  6. As always, push the project to GitHub, and don’t forget to deploy it.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published