A memory-game played with gifs instead of images. Players can choose any theme they can think of (eg. cats, flowers, cars) and get gifs according to their chosen theme.
Work-in-progress alpha version
Plans/fixes for future versions:
- Multiple difficulty settings
- Improve styling
- ... and more
Small learning-project with the following goals:
- Familiarize myself React with a very interactive project
- Deepen my knowledge of how to combine React with the asynchronous nature of external APIs
- Learn Unit Testing and TDD with Jest and Enzyme
Playable demo online at:
http://patrickschuelke.me/memeory/
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
To play or develop develop it your local machine you need some form of a live-server package and a package manager like npm.
-
Clone the repo
-
Install dependencies the main folder
npm install
In main folder run:
webpack -w -d
Then run any form of live server in the /dist folder
live-server
Unit tests were written with Jest and Enzyme.
They can be found with the Syntax ComponentName.test.js
Tests can be run with the following commands:
npm test
npm run test:watch
npm run test:coverage
- React - The web framework used
- Jest - Testing framework
- Enzyme - JavaScript Testing utility for React
- Bulma - CSS Framework
- Tenor - Public GIF Api
- Patrick Schülke - Initial work - PatrickS83
This project is licensed under the MIT License