colyseus-react-example
colyseus-react-example copied to clipboard
Straightforward chat application demonstrating Colyseus Multiplayer Game Server (v0.4.x)
colyseus-react-example
A simple chat client and server to demonstrate how straightforward is to integrate Colyseus room states with ReactJS.
- Online demo
- View client source
- View server source
The ChatRoom room handler is able to handle different instances by passing the room name in the URL hash.
Examples: #colyseus, #react, #node.
Running locally:
git clone https://github.com/endel/colyseus-react-example.git
cd colyseus-react-example
npm install
npm start
Front-end project structure based on react-starter-project
Related projects
License
MIT