Page 1 of 1

P2P Network Gaming

Posted: Wed May 07, 2008 9:01 pm
by Nonsanity
NEVERMIND - I found example stacks in the user spaces - NEVERMIND

Has anyone ever seen examples of a peer-to-peer network game using Revolution? Think chess or battleship or even just chat between two people running rev apps over the internet.

If nothing of the sort exists, a decent bare-bones example stack might be needed. Something to do in my copious spare time...... :)

NEVERMIND - I found example stacks in the user spaces - NEVERMIND

Posted: Mon May 12, 2008 8:08 pm
by cyoung_mi
I have seen several Chat programs in the User Stacks..
but here is one I like. The creator is very helpful

http://bjoernke.com/chatrev/

Posted: Mon May 12, 2008 8:29 pm
by Nonsanity
I've managed to get some socket connections going across the internet now, and have begun working them into the game. For now I'm requiring one of the players to punch a port hole in their firewall to let that player act as the server for the others to contact. The only other option I can see is to make a server CGI stack that acts as an intermediary. Something I might do later since I have gotten Revolution running as a CGI engine on my Dreamhost account.

I'll take a look at the example you mention later to see if it adds any special case handling I should be aware of, so thanks. :)