add new functions setGames and setPrimaryGame. joinGame is kept for compatibility