moved player and gameId into GameMaker factory