Yes you can send messages to other users of your game, but you have to
have them connected in real time to your bot. There are different ways
of doing this with ajax, comet, flash and java. The only one I believe
it works with GAE is a java applet with sockets (waiting for the
future WebSockets implementation).

Every player loads the applet to communicate in real-time with the
xmpp bot which parses and channels responses accordingly.

I'd like to see your chess game finished, if you need help let me
know, I'll be glad to lend a hand.



On Oct 26, 7:14 pm, Mark <[email protected]> wrote:
> > wouldn't it make more sense for them to just send to the other person
> > directly?
>
> Well I think that definitely makes sense in a lot of cases. If I
> wanted to make a multiplayer chess game though, it would definitely be
> more convenient for users to send and receive xmpp messages directly
> through my application though. It would be awkward to go to gchat etc
> to send a message to talk to the person you're playing against.
>
> In the chess game scenario, it seems you would be able to send an xmpp
> chat message to your opponent, just that your client app has no way of
> getting notified that a message was received - it would popup in your
> third party chat app, like gchat, probably in another browser frame?
>
> Thanks
>
> On Oct 26, 3:04 pm, Wooble <[email protected]> wrote:
>
> > The XMPP service only allows users to send XMPP messages to your
> > application, or for your application to send XMPP messages to
> > subscribed users.  I don't think it's really designed for you to have
> > your users send messages to other users through your application;
> > wouldn't it make more sense for them to just send to the other person
> > directly?
>
> > On Oct 26, 1:15 pm, Mark <[email protected]> wrote:
>
> > > Hi,
>
> > > I just saw the addition of XMPP messaging support to app engine.
>
> > > I'm not understanding how we integrate this into our apps though. It
> > > looks like we can let users send an XMPP message to another user
> > > directly through our own apps.
>
> > > How and when do recipients get those messages? Do they need to be
> > > logged into a 3rd party chat service to receive those messages?
>
> > > Example, through my web app, I allow users to send XMPP messages to
> > > [email protected]. Can Bob only get those messages if he logs into gmail?
> > > Or is there a way for my app to directly be notified of their arrival
> > > and display them? (I would guess no as that would require some client-
> > > side polling or long-lived connection to work).
>
> > > Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to