Added query parameter for getGames