Will
Visitor
|
Problem with a game... - 2008/05/02 15:04
Ok, now that my Client API is almost ready, I tried to set-up a very very simple game.
The concept : - The player is represented by a character in a 16x16 grid. - The user can simply move from one case to another and can't move on a case if another player is present on this case.
And... I have to say I'm a bit confused about how to do that with palabre.
1. Placing the new Player - When the new player connects, he needs to be put on an empty place in the grid... - So the player send a <request-position>-like node, and the server should reply with a "<your-position><x>12</x><y>10</y></your-position>.
How would you perform such action ? With a custom module in python ?
If yes, it means that when you build an application for Palabre, all the logic, security and actions should be scripted in Python in add-on module.
THanks for your suggestions !
|