Skip to content

yluo3421/Phase-2-Game-Matching-Card

Repository files navigation

Welcome to Mahjong Matching Game 👋

Version

After finishing the webpage for introduction of algorithm, I decided to do a website that allows more interactions between the user and the website. Game jumps into Tashi's and my sight. We looked up lots of different games and analyze their feasibility. 2048 and the Mahjong matching game made to the final round. Due to the limited time, we chose Mahjong matching game as this phase project. Another intentino is to help Chinese culture diffusion.
The website is still one page but has 3 client-side routes using React Router. Buttons are used to help user navigate betwwen homepage, game, and leader board. Beyond that, we use a json-server to create a RESTful API for our backend and make both a GET and a POST request to the json server. Also we use a form to enable post request.
The demo below are set to lower number of tiles matched to make the video shorter.

Demo

webpage_gif_001

Install

npm install
$ npm install -g concurrently

Usage

$ npm:watch-db
$ npm:watch-leader
$ npm:watch-whatever
$ npm start

Run tests

npm run test

Author

👤 Yeming Luo & Tashi

Show your support

Give a ⭐️ if this project helped you!


Future Feature:


Make this website with account connected to major websites (gmail, facebook) Animation smooth

About

Webpage game 2048

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published