Hello,

I am writing a multi-player graphical game which utilizes XMPP for
client-server messaging.

How do I represent game events in the XMPP?

Of course, I could just use something <message><body>shot: player(1)
-> player(2)</body></message>. Just include items, specific to my game
in ordinary message's body and parse them at client/server. But I
guess the right way is to use custom messages, like
<message><event><shot from='1' to='2'/></event></message>. Are there
any guidelines or best practices on how to do this? Tags, namespaces,
etc.

Thannks.
_______________________________________________
JDev mailing list
FAQ: http://www.jabber.org/discussion-lists/jdev-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: [email protected]
_______________________________________________

Reply via email to