sudo apt-get install nodejs npm
I don't have a fully-stock ubuntu 14.04 machine handy, so this list might not be completely exhaustive.
make install
make run
gevent-socketio isn't keeping up with socket.io development; it seems unmaintained. Same with django-socketio. Plus, gevent's monkey-patching worries me from a library-compatibility point of view. The situation with Tornado and socket.io doesn't seem much better:
Unfortunately, Socket.IO 0.8 branch is abandoned, there are huge amount of bugs and nothing getting fixed.
So I went with node. I'm not using any "frameworks" other than node and socket.io, really, although I am using node-static for static file serving.
Since I'm using node, I thought about trying to share code between the client and server, but since that's less likely in a python shop, I didn't worry about it.
- Only one game at a time
- (relatedly) If one player refreshes, they should both refresh.
- No tests