Skip to content

cat-street/creative-memory-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Memory Game test assignment

A sample frontend project on React-TypeScript

React Order Form Task

A sample memory game application with a leaderboard.


Usage

  • Installing dependencies:
npm install
  • Run in development mode:
npm start

Features

  • The game field has 18 pairs of cards with icons
  • Cards position is randomized at the start of a new game
  • When the card is turned up front, the player have 5 seconds to find a corresponding pair
  • A timer starts with a new game
  • When all the pairs are found, the game stops, and the current time result is added to the leaderboard

Technology

  • React (functional components, hooks, useState, useRef, useEffect)
  • TypeScript
  • JavaScript (ES6)
  • SCSS Modules

Possible improvements

  • Difficulty option