Add support for team games

fixes #145