Air Hockey multiplayer example game made using KAPLAY and Colyseus Multiplayer Framework.
This is the result of the guide published at KAPLAY website
Open 2 terminal windows, one for the client and one for the server. Install the dependencies and run the development server.
Start the client:
cd client
npm install
npm start
Start the server:
cd server
npm install
npm start
You will need to expose your local server to the internet to test with friends. We recommend using either cloudflared or ngrok for this.
cd client
npm run cloudflared
You can copy the URL generated by cloudflared
and share it with your friends:
MIT
(This project was based on colyseus/kaplay)