If you end using websites:
Web descriptors can be implemented using Rails, but not all hosting environments support it. Here are some links to help you get started:
http://m.onkey.org/websockets-made-easy-with-cramp ( Thin or Rainbows required ! )
http://www.pusherapp.com/ (if you use Heroku, this is a good option)
For the client side, some javascript plugins have a flash backup if the browser does not support web sites. Instead of implementing the whole game in flash memory, you might be better off using such a plugin. (Your server will still need websocket support.) Here is one option (jQuery is required):
https://github.com/ffdead/jquery-graceful-websocket
As you stated, websockets are very new and will be quite experimental as a result. If all else fails, there are more common AJAX solutions. It is possible that for a simple card game, you can simply periodically request a server using AJAX requests until the other player makes a move. This is likely to increase the load on the server, so I think it depends on your needs.
Edit:
See also: Juggernaut
Smudge
source share