This project was bootstrapped with Create React App and deployed here.
- implemented:
- Allow the user to play more than one game without reloading the page
- Allow the user to set the number of cards before a new game (min. 3, max. 10 pairs)
- Present the user with a score counter that increments after every second card flip
- Allow the user to continue the previously played game after reloading the page
- todo:
- It should be responsive
- It should have a landing page for the app that explains the rules, and a separate screen for the actual game
- Layout is crappy
- Highscore tracked globally, it is independent from the game size
- Cards are not disabled after clicking
- ...
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.