Most game logic (prior to merge and rework due to the changes of Lubo and Stoyan, some things are broken.)
Merge of some of the changes, still need more work done.
Most of the logic now works, only end conditions haven't been applied yet.