Skip to content

Earth-Hominid/Memory-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MARVEL Memory Game | ReactJS

image image

memory-card-1

One page web application made with React.

Live Demo

Description

A memory game in which the player is shown randomly selected cards. Upon starting the game, the order of the cards is randomized and re-displayed. The players objective is to select the cards in sequence of their orignal order.

This application is built with the React framework, utilizing functional components and React Hooks. I enjoyed building this application as it forced me to learn the following lessons regarding state in React:

  • How setting state triggers - rerenders
  • When and how state updates
  • The reasons state does not update immediately once it is set
  • The way in which event handlers access a "snapshot" of the current state.

memory-card-3

Install

git clone https://github.com/Earth-Hominid/Memory-Game.git
cd Memory-Game
npm install
npm start

Technology

image image

Authors

Earth Hominid GitHub

License

This project is licensed under the [MIT] License - see the LICENSE.md file for details

Acknowledgments

Releases

No releases published

Packages

No packages published