This is a memory game created with React, TypeScript and Styled Components.
I developed this game to learn more about typescript and improve my programming logic, and also to get more familiarized with custom hooks and Context Api.
Create project with viteCreate folder structureImplement using ContextApi to manage global statesCreate game menu to choose dificultySplit logic into custom hooksCreate the game logicCreate game card and main layout- Styling the main page
- Styling the game page
- Use styled-components for styling
- Create control buttons (play, pause and restart)
- Create timer
- Create the victory modal with the results (Number of moves and time)
Jamilson Henrique | Follow me on Linkedin