Game phases

This is handled in the code by:
following our example from above, we enter the match "event"-dispatcher and there the
...
    handlePhase();
...
Nothing much is really done here, the game only gets here, when all communication is done, and all players passed the stack. Which means we only come here to initiatie a new phase of the game.

This is boring and I won't explain how I implemented:
(pseudo code)
...
    phase = (phase +1) % PHASE COUNT;
    initPhase();
...