laying out server interactions for the game