add games_by_player to matches and history to games