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.
🏠 Homepage
npm install
$ npm install -g concurrently
$ npm:watch-db
$ npm:watch-leader
$ npm:watch-whatever
$ npm start
npm run test
👤 Yeming Luo & Tashi
- Github: [@yluo3421 & tadolma97](https://github.com/yluo3421 & tadolma97)
- LinkedIn: @https://www.linkedin.com/in/yeming-luo/
Give a ⭐️ if this project helped you!
Make this website with account connected to major websites (gmail, facebook) Animation smooth