[jdev] how to program a jabber game server
Denis Guillaume
guillaume_denis at yahoo.fr
Wed Feb 7 03:55:41 CST 2007
Hello,
I am going backwards in this thread, as I would like to ask some precisions. When I
suggested that a server component could manage game sessions (initialisation,
players' gathering...) and bots handle one specific game session (checking players moves,
updating scores...), Richard answered me :
"The easiest way (and how im implementing it) is for the game component
to handle it all, what you are thinking of as a bot rather be handled by
the game component directly."
But in fact, being bots or components, what I would find flexible is the
possibility to plug them dynamically this way :
- the GameSessionsComponent is asked by a client to create a new session
game ;
- this session is then simply a MUC managed by a dynamically plugged
RefereeComponent or RefereeBot.
But after having beeing seeking for examples of such an architecture, what I
have found is only examples of statically plugged components (at server start)
or bots. With this static plugs, referees would be hidden in the
GameSessionsComponent (or GameSessionsBot) implementation. Is this the only
way to proceed ?
Thanks, Guillaume
___________________________________________________________________________
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses
http://fr.answers.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20070207/d4cf6675/attachment-0002.htm>
More information about the JDev
mailing list