đšī¸ XOXO Multiplayer (PhaserJS Client)
A simple real-time multiplayer Tic-Tac-Toe built with PhaserJS and Nakama.
This is the client-side game that connects to a Nakama server, authenticates users, joins matches, and handles real-time gameplay updates.
đ Features
- Real-time multiplayer gameplay (WebSocket)
- Matchmaking using Nakama RPC
- Player authentication via device ID
- Dynamic turn updates and board synchronization
- "Opponent left" and "Game over" handling
- Clean scene management (
MainMenu, Matchmaking, InGame)
đ§Š Tech Stack
- PhaserJS + Svelte â UI and game engine
- Nakama JavaScript SDK (
@heroiclabs/nakama-js)
- UUID for unique device IDs
âī¸ Setup
1. Install dependencies
npm install