Skip to content

PatrickS83/memeory

Repository files navigation

Memeory

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

Motivation

Small learning-project with the following goals:

  1. Familiarize myself React with a very interactive project
  2. Deepen my knowledge of how to combine React with the asynchronous nature of external APIs
  3. Learn Unit Testing and TDD with Jest and Enzyme

Demo

Playable demo online at:

http://patrickschuelke.me/memeory/

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

To play or develop develop it your local machine you need some form of a live-server package and a package manager like npm.

Installing

  1. Clone the repo

  2. Install dependencies the main folder

npm install

Development environment

In main folder run:

webpack -w -d

Then run any form of live server in the /dist folder

live-server

Testing environment

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

Built With

  • React - The web framework used
  • Jest - Testing framework
  • Enzyme - JavaScript Testing utility for React
  • Bulma - CSS Framework
  • Tenor - Public GIF Api

Author

License

This project is licensed under the MIT License

About

A themed memory game with gifs of anything one can think of 🃏 🃏 ⚡

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published