games, two nine inning games, or one nine inning game and one seven inning game between the same teams. The team with the most runs at the end of the game wins. If the home team is ahead when the middle of the last inning is reached, it is declared the winner, and the last half-inning is not played. If the home team is trailing or tied in the last scheduled inning (or in an extra inning, see below) and they score to take the lead, the game ends as soon as the winning run touches home plate; however, if the last batter hits a home run to win the game, he and any runners on base are all permitted to score. If both teams have scored the same number of runs at the end of a regular-length game, a tie is avoided by the addition of extra innings. As many innings as necessary are played until one team has the lead at the end of an inning. Thus, the home team always has a chance to respond if the visiting team scores in the top half of the inning; this gives the home team a small tactical advantage. In theory, a baseball game could go on forever; in practice, however, they eventually end. In addition to that rule, a game might theoretically end if both the home and away team were to run out of players to substitute (see Substitutions, below). In Major League Baseball, the longest game played was a 26-inning affair between the Brooklyn Robins and Boston Braves on May 1, 1920. The game, called on account of darkness, ended in a 1–1 tie. Two minor-league teams, the Pawtucket Red Sox and Rochester Red Wings, played a 33-inning game in 1981. In Major League Baseball, games end with tie scores only in rare cases when conditions make it impossible to continue play. A tie game does not count as a game in the standings—a 2008 rule change made all tie games suspended unless and until not needed for the sake of determining playoff teams, and no longer replayed; however, though undecided, and not factored in the championship standings and the playoff reckoning, a tie game goes on the record and player and team statistics from it are counted. Inclement weather may also shorten games, but at least five innings must be played for the game to be