This is the second project in the Grow with Google Scholarship Program. I have created a memory game that relies on flipping and maching cards. I built this application using Gulp so if you would like it to run automatically then you will need to clone the git repo
git clone https://github.com/PixelPerfectDev/Memory-Game.git
then run
yarn install
from there you can start the server and compile the files with
yarn gulp
If you would like to do it without installing the package dependencies then you can run the index file in the Final Dist folder.
Here is a list of all packages that I used or worked with for development: "gulp": "^3.9.1", "gulp-clean": "^0.4.0", "gulp-clean-css": "^3.9.4", "gulp-concat": "^2.6.1", "gulp-connect": "^5.5.0", "gulp-image": "^4.3.0", "gulp-replace": "^1.0.0", "gulp-sass": "^4.0.1", "gulp-sequence": "^1.0.0", "gulp-sourcemaps": "^2.6.4", "gulp-uglify": "^3.0.0", "moment": "^2.22.2"
To shuffle the cards I utilized the Fisher Yates algorithm found here: http://stackoverflow.com/questions/2450954/how-to-randomize-a-javascript-array on 7/5/2018