ASPP/pelita — pull request #105 by Debilski (2012-05-30 19:04:47+00:00)
Title: Feature/ømq

I’m making this a PR now because otherwise it gets harder and harder to merge all changes to master. There’ll be merge conflicts already. Once we decide on merging, I’ll publish the merge for separate review.

Please tell me about fixes and missing stuff now, so that I can handle this before we go on.

Prominently missing stuff:
* Windows might or might not work properly (It does work *in principle*, though we might have to use separate Popen processes instead of subprocess or threading there.)
* Synchronisation (However: example code in https://github.com/Debilski/pelita/tree/feature/synchronisation-controller ***)

*** Demo usage for code in synchronisation controller branch:
* Run ./pelitagame
* Press PLAY/PAUSE
* Open new terminal, IPython, enter:

```
import zmq
ctx = zmq.Context()
sock = ctx.socket(zmq.DEALER)
sock.connect("tcp://localhost:10005")
sock.send_json({"__action__": "play_round"})
```