Memory Game
Play classic memory with a friend with two additions:
- Cards move between piles dealer --> board --> winning piles --> repeat, which is mimics a physical game
- Players are remote from each other (uses Firebase as backend)
This game uses kid-friend rules
- meaning that after every two cards flips the player switches (i.e., winner does not get another round)
To Play
- Open the game as the "host" https://memory-game-3c1b1.firebaseapp.com/
- The game will give the host a url to send to the "friend"
- Friend opens the url and will auto join the game
- Play memory!
Technology used
This project is mostly to showcase both good design, delightful animations, and good code quality.
Highlights
- Used React
- Used CSS-Modules with SASS and babel-plugin-react-css-modules for styling
- Used Redux and redux_helpers for state management
- Used react-overdrive and react-pose for animations
- Used yarn for package management
- Used webpack for building
- Used storybook for component testing and development
- Used Karma, Mocha, Chai, Enzyme, Sinon, and Istanbul for TDD and code coverage
- Used ESLINT for code quality
- Used Firebase, redux_firebase, and targaryen for backend and testing
Run locally
- make sure yarn, node 10, and chrome installed
- clone repo
- run
yarn - To launch local
yarn run devthen open http://localhost:3000/ - To launch TDD
yarn run tddthen open http://localhost:3001/ - To launch storybook
yarn run storybookthen open http://localhost:9001/