[Standards-JIG] Invitation to use XMPP based game from Instant Messaging Application.

Michal vorner Vaner michal.vaner at kdemail.net
Wed Aug 23 13:25:56 CDT 2006


On Wed, Aug 23, 2006 at 06:52:27PM +0200, Olivier Goffart wrote:
> Hello.
> 
> The vorner's mail he just posted on the list about the chess game[1] remind me 
> one of my old work.
> 
> 
> Few month ago, after a discussion with few people about integration of instant 
> messaging into the desktop with different people (KDE people, the Psi team, 
> and vorner itself) I tried to find a way to let IM application start others 
> XMPP compatible applications on request.
> 
> So I drafted a JEP: http://kopete.kde.org/protocol/invitation.html
> The version showed there is 0.1 but i should probably have numbered it 0.0.1,  
> it's far fromt finished.
> 
> The idea is that you want to have a "Play Chess" button on your IM client,  
> but you don't want actually implement the chess game directly into your 
> application. Anyway, you want to let contact aware that you can play chess, 
> and even want to initiate the game from the messaging client.
> 
> Note that this JEP is for third application that support XMPP.   Starting 
> using Quake from the IM Client is out of the scope of this JEP.
> 

Why? If you modify quake to speak XMPP ;-)
> 
> Few issue that are remaining are:
>  - Applications (even the chess game) has to do service discovery on every 
> connected ressource of each contact, maybe twice if the resource support the 
> JEP.  the JEP-0115 may help a bit anyway.
>  - Once applications are started on both side, it's still unclear how to 
> proceed to an automatic invitation which is automatically accepted in a safe 
> way.
> 
> I was waiting to publish the JEP because I wanted to try an implementation 
> before,  but I have been busy with others things.
> 
> So please have a look on my JEP, and tell me if this is useless, or if this is 
> the wrong way to go.

Well, I'm for it. I already support for half of it in the chess game
:-). You can start it and say it how to connect and who to propose game
to. I would need to add just the thing "Auto accept this", but I do not
know, how I would negotiate the rules and colors, since they are
negotiated with the proposal of a game. (You click someone, fill in
which colors you agree to play with, white, black or both, the other
choses from what was left and accepts/rejects).

I got another idea how to do it. When I want to start the game with
someone, it is easy. The IM client just starts the application and tells
it to ask that one. On the other side, the IM client can pretedn it can
play the chess and then negotiate to forward the game to the new
resource, after it is started.

-- 
There is one difference between linux and windows.
With windows, you pay for the software, but you get all the T-shirts for free.
With linux, you get all the software for free, but you buy the T-shirts.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.jabber.org/pipermail/standards/attachments/20060823/05bf9411/attachment.pgp


More information about the Standards-JIG mailing list