instruction: Give me a concise summary of the history of baseball
context: The evolution of baseball from older bat-and-ball games is difficult to trace with precision. Consensus once held that today's baseball is a North American development from the older game rounders, popular among children in Great Britain and Ireland. American baseball historian David Block suggests that the game originated in England; recently uncovered historical evidence supports this position. Block argues that rounders and early baseball were actually regional variants of each other, and that the game's most direct antecedents are the English games of stoolball and "tut-ball". The earliest known reference to baseball is in a 1744 British publication, A Little Pretty Pocket-Book, by John Newbery. Block discovered that the first recorded game of "Bass-Ball" took place in 1749 in Surrey, and featured the Prince of Wales as a player. This early form of the game was apparently brought to Canada by English immigrants.
  
  By the early 1830s, there were reports of a variety of uncodified bat-and-ball games recognizable as early forms of baseball being played around North America. The first officially recorded baseball game in North America was played in Beachville, Ontario, Canada, on June 4, 1838. In 1845, Alexander Cartwright, a member of New York City's Knickerbocker Club, led the codification of the so-called Knickerbocker Rules, which in turn were based on rules developed in 1837 by William R. Wheaton of the Gotham Club. While there are reports that the New York Knickerbockers played games in 1845, the contest long recognized as the first officially recorded baseball game in U.S. history took place on June 19, 1846, in Hoboken, New Jersey: the "New York Nine" defeated the Knickerbockers, 23–1, in four innings. With the Knickerbocker code as the basis, the rules of modern baseball continued to evolve over the next half-century. By the time of the Civil War, baseball had begun to overtake its fellow bat-and-ball sport cricket in popularity within the United States, due in part to baseball being of a much shorter duration than the form of cricket played at the time, as well as the fact that troops during the Civil War did not need a specialized playing surface to play baseball, as they would have required for cricket.
response: Although the history of baseball cannot be determined with great precision, it is said that the game originated in England during the 1700s. The first official game to be played in North America took place in 1838 in Beachville, Ontario, Canada and in 1846 the first official game took place in the United States. The original rules of baseball, called the Knickerbocker Rules" were established in 1845 and formed the basis of the rules of modern baseball that evolved over the following century.