Skip to content

This is a memory game project. This is a SPA project which was written in typescript with React as frontend library, Zustand as global state manager and testing library for unit testing the game logic.

Notifications You must be signed in to change notification settings

yasskate/memory_game

Repository files navigation

Memory Game Challenge

Getting started

Home
memory-game

Clone the app

$ git clone git@github.com:yasskate/memory_game.git && cd memory_game/

Install dependencies

$ yarn install

Starting the server

$ yarn run dev

Running the tests

$ yarn run test

Running the test coverage

$ yarn run test:coverage


Folder Structure

Folder File Description
sec/assets ... Contains the memory games images
src/components ... Reusable components to use through the game
src/entities ... Has the entities game, the main actors
src/hooks ... Hook functions
src/stores ... Has the global state files
src/styles ... Has the styled components
src/utils ... Any useful function, method, constant that we can use through the game
App.tsx Memory game
Main.tsx Main file
*.test.{ts,tsx} Testing file
README.md This file
.
|__/public
|__/src
|      |__assets/
|      |__components/
|      |__entities/
|      |__hooks/
|      |__stores/
|      |__styles/
|      |__utils/
|__App.tsx
|__main.tsx
|__README.md

Stack

  • Node >v16.10
  • Yarn
  • React powered by Vite
  • Styled Components
  • Zustand
  • Jest
  • React Testing Library

About

This is a memory game project. This is a SPA project which was written in typescript with React as frontend library, Zustand as global state manager and testing library for unit testing the game logic.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published