Hello, 

I'm creating a facebook two player checkers game.
Till now, I'm handling the communication between each two players per room 
using socket.io 

Whenever a player gets into the app, he is imiddiately connected to a room 
and If there is another player in that room, tha game begins.
All logic is handled in the client side. The messages that pass through 
nodejs are the moves each player did. Even the turn order is handled by the 
client.

I reckon that leaving the "heavy" logic duty to the client side, is risky.
Tha't why I want to run instances of the game in the nodejs server and let 
the users update only the graphics.
In that way, I will be able to write to a database the score of the game, 
or handle any "user escape hacks".
But I cannot figure out how I can run multiple instances of the game on 
nodejs per players couple.

Can anyone tell me how can this be achived?

Thank you

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" 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/nodejs?hl=en?hl=en

Reply via email to