Example: Building a MMORPG (desktop only)
With pizza you need a game, so we make one for you. Look at the possibilities PushJS has to offer. Okay, we aren't the best game makers in the world, but that's where you come in!
Learn how to:
- Get the client id
- Listen for client attribute changes
- Get and set client attributes
- Setup multiple channels
- Send and receive different types of message body's
- Send message through channels
- Listen to multiple (private) channels
To see PushJS working in this example, open up another page and play against yourself.