On Tue, May 8, 2012 at 5:05 AM, Robert Chris Bang Larsen
<[email protected]> wrote:
> Hi all
>
> I am planning on using Node.js for the server side of multiplayer
> games based on JavaScript and HTML5.
>
> But how can I do this when using Node.js ?
>
> So, how would you go about having shared code between Node.js and the
> client side ?
>

Take a look at SocketStream http://socketstream.com - it is perfect
for something like a real-time multiplayer game.  I'm using it right
now, and loving it.  Sharing code between client/server is easy.  See,
for example, the section on 'system' libraries:
https://github.com/socketstream/socketstream/blob/master/doc/guide/en/client_side_code.md

You could, of course build this yourself with browserify, etc., but
socketstream has already done it for you, plus a lot of other great
stuff.

Regards,
Davis

-- 
http://daisyworks.com

-- 
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