def _extract_game_info(self, games):
all_boxscores = []<EOL>for game in games:<EOL><INDENT>details = self._get_team_details(game)<EOL>away_name, away_abbr, away_score, home_name, home_abbr,home_score = details<EOL>boxscore_url = game('<STR_LIT>')<EOL>boxscore_uri = self._get_boxscore_uri(boxscore_url)<EOL>losers = [l for l in game('<STR_LIT>').items()]<EOL>winner = self._get_team_results(game('<STR_LIT>'))<EOL>loser = self._get_team_results(game('<STR_LIT>'))<EOL>if (len(losers) != <NUM_LIT:2> and loser and not winner) or(len(losers) != <NUM_LIT:2> and winner and not loser):<EOL><INDENT>continue<EOL><DEDENT>if not winner or len(losers) == <NUM_LIT:2>:<EOL><INDENT>winning_name = None<EOL>winning_abbreviation = None<EOL><DEDENT>else:<EOL><INDENT>winning_name, winning_abbreviation = winner<EOL><DEDENT>if not loser or len(losers) == <NUM_LIT:2>:<EOL><INDENT>losing_name = None<EOL>losing_abbreviation = None<EOL><DEDENT>else:<EOL><INDENT>losing_name, losing_abbreviation = loser<EOL><DEDENT>game_info = {<EOL>'<STR_LIT>': boxscore_uri,<EOL>'<STR_LIT>': away_name,<EOL>'<STR_LIT>': away_abbr,<EOL>'<STR_LIT>': away_score,<EOL>'<STR_LIT>': home_name,<EOL>'<STR_LIT>': home_abbr,<EOL>'<STR_LIT>': home_score,<EOL>'<STR_LIT>': winning_name,<EOL>'<STR_LIT>': winning_abbreviation,<EOL>'<STR_LIT>': losing_name,<EOL>'<STR_LIT>': losing_abbreviation<EOL>}<EOL>all_boxscores.append(game_info)<EOL><DEDENT>return all_boxscores<EOL>
Parse game information from all boxscores.

Find the major game information for all boxscores listed on a
particular boxscores webpage and return the results in a list.

Parameters
----------
games : generator
    A generator where each element points to a boxscore on the parsed
    boxscores webpage.

Returns
-------
list
    Returns a ``list`` of dictionaries where each dictionary contains
    the name and abbreviations for both the home and away teams, and a
    link to the game's boxscore.