This project was created to study WebSocket. A multiplayer game with various mechanics, such as:
- Player list online
- Player list pagination
- Player search system by ID
- Challenge system between players
- Rematch system
- Match scoreboard (victories,ties and defeats)
- Opponent disconnection alert
Command | Description |
---|---|
npm install |
Install front-end project dependencies |
composer install |
Install back-end project dependencies |
npm run dev |
Run the front-end on http localhost port 5173 |
php server.php |
Run the back-end on ws localhost port 9990 |