Project assigned to me during the PCTO period (alternanza scuola-lavoro) during the month of July 2023. It's an online version of the Tris game which i already created in another repository (link here).
- Node.js installed (v18.16.1)
- XAMPP installed
- Sequelize installed
- Clone this project
- Open XAMPP and start the Apache and MySQL servers
- Create a new server with PhpMyAdmin named
database_tris
- Open a new Terminal inside the repository on VSC
- Run
cd server
- Run
node server.js
- Open another Terminal on VSC
- Run
cd cliend
- Run
npm start
At this point the project itself shold open a new local server and open a new browser windows, usuallyhttp://localhost:3000/
but the port can change if you have other local server already open. You should also see a message in the server's terminal in order to inform you about the connection with the database.
- Make possible to users to be matched togheter in a match
- Live moves of each player on the table
- Manage different scenarios of disconnection with an Error Pop-Up
- Implement an Party Mode