views:

151

answers:

1

I am looking to knock off a quickie rails app that will allow two players to take turns and get feedback after each turn - approximately 10 rounds of turns so there are no issues with long lived connections.

I want to use rails because I know it reasonably well, have hosting already set up and have my tools installed.

Do you have any advice on plugins, libraries or tutorials to help out with the communication between players.

+1  A: 

This links may be helpful:
http://juggernaut.rubyforge.org/
http://github.com/imanel/socky_gem

Sławosz
Juggernaut might be useful. I don't need to handle a multitude of simultaneous connections for indefinite periods of time so it may be a bit of overkill and an extra deployment monitoring headache but I'm considering it. Socky is based on websockets which has rather unrealistic browser restrictions which rules it out. Maybe in a few years...
srboisvert
Zed Shaw's "Death to WebSockets" Note in Mongrel2 documentation: http://mongrel2.org/doc/tip/docs/manual/book.wiki#x1-550005.1.3
clyfe