ASPP/pelita — pull request #110 by Debilski (2012-06-04 11:59:42+00:00)
Title: Feature/synchronisation controller

This branch adds methods to GameMaster, which can be used to perform single rounds and single bot moves.
Additionally, an optional controller is introduced, which wraps GameMaster and can be accessed remotely over a zmq Connection.

The controller code can be made a bit smoother in future, also there could be more functions added to it. (Plus eventual integration in the Actor framework, as that’s what it is.)

The code to perform the single bot moves uses yield-continuations to interrupt the control flow, which is equally on the good and the bad side of being clever. One has to be careful not to change the iteration pointer manually. If we eventually revise the game_state transformations, we might look into this as well.