add function send invite to other player