A full-stack (MERN) web app for the Tower of Hanoi game where players can create accounts, which will allow scores to be posted onto a leaderboard. The game was built in Unity3D and exported as a WebGL.
Game source code: https://github.com/ikevinws/TowerOfHanoi
Website: https://tower-of-hanoi.up.railway.app/
Setup the project and install the packages by running
npm run setup
Run project with command
npm run dev
- FrontEnd: React.JS, Bootstrap, HTML/CSS
- Backend: Node.JS, Express.JS, Passport.JS
- Database: MongoDB, Mongoose
- Game Engine: Unity3D
- Sign In / Sign Up / Sign Out the user.
- A leaderboard that records the player's best time and the number of moves for each level
- POST /api/users/signup
- POST /api/users/signin
- GET /api/users/signout
- GET /api/users/checkAuth
- GET /api/level/getLevels
- GET /api/level/:id
- POST /api/level/addLevel
- The button icons were obtained from www.flaticon.com.
- The sound effects were obtained from www.zapsplat.com.
- Some assets (wood texture, and skybox) were downloaded from the Unity store.