player switching and player type switching
Merge pull request #8 from DeclanT/promises

player switching and player type switching