In a two-innings-a-side match, one team's combined first and second innings total may be less than the other side's first innings total. The team with the greater score is then said to have "won by an innings and n runs", and does not need to bat again: n is the difference between the two teams' aggregate scores. If the team batting last is all out, and both sides have scored the same number of runs, then the match is a tie; this result is quite rare in matches of two innings a side with only 62 happening in first-class matches from the earliest known instance in 1741 until January 2017. In the traditional form of the game, if the time allotted for the match expires before either side can win, then the game is declared a draw.[66]
Crickets are hemimetabolic insects, whose lifecycle consists of an egg stage, a larval or nymph stage that increasingly resembles the adult form as the nymph grows, and an adult stage. The egg hatches into a nymph about the size of a fruit fly. This passes through about 10 larval stages, and with each successive moult, it becomes more like an adult. After the final moult, the genitalia and wings are fully developed, but a period of maturation is needed before the cricket is ready to breed.[20]
At the grassroots level, local club cricket is essentially an amateur pastime for those involved but still usually involves teams playing in competitions at weekends or in the evening. Schools cricket, first known in southern England in the 17th century, has a similar scenario and both are widely played in the countries where cricket is popular.[125] Although there can be variations in game format, compared with professional cricket, the Laws are always observed and club/school matches are therefore formal and competitive events.[126] The sport has numerous informal variants such as French cricket.[127] 

In 1975, Dr. William H. Cade discovered that the parasitic tachinid fly Ormia ochracea is attracted to the song of the cricket, and uses it to locate the male to deposit her larvae on him. It was the first known example of a natural enemy that locates its host or prey using the mating signal.[8] Since then, many species of crickets have been found to be carrying the same parasitic fly, or related species. In response to this selective pressure, a mutation leaving males unable to chirp was observed amongst a population of Teleogryllus oceanicus on the Hawaiian island of Kauai, enabling these crickets to elude their parasitoid predators.[9] A different mutation with the same effect was also discovered on the neighboring island of Oahu (ca. 100 miles (160 km) away).[10] Recently, new "purring" males of the same species in Hawaii are able to produce a novel auditory sexual signal that can be used to attract females while greatly reducing the likelihood of parasitoid attack from the fly.[11]

A skilled batsman can use a wide array of "shots" or "strokes" in both defensive and attacking mode. The idea is to hit the ball to the best effect with the flat surface of the bat's blade. If the ball touches the side of the bat it is called an "edge". The batsman does not have to play a shot and can allow the ball to go through to the wicketkeeper. Equally, he does not have to attempt a run when he hits the ball with his bat. Batsmen do not always seek to hit the ball as hard as possible, and a good player can score runs just by making a deft stroke with a turn of the wrists or by simply "blocking" the ball but directing it away from fielders so that he has time to take a run. A wide variety of shots are played, the batsman's repertoire including strokes named according to the style of swing and the direction aimed: e.g., "cut", "drive", "hook", "pull".[105]
If a fielder is injured or becomes ill during a match, a substitute is allowed to field instead of him, but the substitute cannot bowl or act as a captain. The substitute leaves the field when the injured player is fit to return.[74] The Laws of Cricket were updated in 2017 to allow substitutes to act as wicket-keepers,[75] a situation that first occurred when Mumbai Indians' wicket-keeper Ishan Kishan was injured in a match on 18 April 2018.[76]
Off the field in televised matches, there is usually a third umpire who can make decisions on certain incidents with the aid of video evidence. The third umpire is mandatory under the playing conditions for Test and Limited Overs International matches played between two ICC full member countries. These matches also have a match referee whose job is to ensure that play is within the Laws and the spirit of the game.[67]
Crickets are relatively defenceless, soft-bodied insects. Most species are nocturnal and spend the day hidden in cracks, under bark, inside curling leaves, under stones or fallen logs, in leaf litter, or in the cracks in the ground that develop in dry weather. Some excavate their own shallow holes in rotting wood or underground and fold in their antennae to conceal their presence. Some of these burrows are temporary shelters, used for a single day, but others serve as more permanent residences and places for mating and laying eggs. Crickets burrow by loosening the soil with the mandibles and then carrying it with the limbs, flicking it backwards with the hind legs or pushing it with the head.[4]
One possible source for the sport's name is the Old English word "cryce" (or "cricc") meaning a crutch or staff. In Samuel Johnson's Dictionary, he derived cricket from "cryce, Saxon, a stick".[5] In Old French, the word "criquet" seems to have meant a kind of club or stick.[10] Given the strong medieval trade connections between south-east England and the County of Flanders when the latter belonged to the Duchy of Burgundy, the name may have been derived from the Middle Dutch (in use in Flanders at the time) "krick"(-e), meaning a stick (crook).[10] Another possible source is the Middle Dutch word "krickstoel", meaning a long low stool used for kneeling in church and which resembled the long low wicket with two stumps used in early cricket.[11] According to Heiner Gillmeister, a European language expert of Bonn University, "cricket" derives from the Middle Dutch phrase for hockey, met de (krik ket)sen (i.e., "with the stick chase").[12] Gillmeister has suggested that not only the name but also the sport itself may be of Flemish origin.[12]
Crickets are found in many habitats. Members of several subfamilies are found in the upper tree canopy, in bushes, and among grasses and herbs. They also occur on the ground and in caves, and some are subterranean, excavating shallow or deep burrows. Some make home in rotting wood, and certain beach-dwelling species can run and jump over the surface of water.[1]
During normal play, thirteen players and two umpires are on the field. Two of the players are batsmen and the rest are all eleven members of the fielding team. The other nine players in the batting team are off the field in the pavilion. The image with overlay below shows what is happening when a ball is being bowled and which of the personnel are on or close to the pitch.[72]
The game underwent major development in the 18th century to become England's national sport.[citation needed] Its success was underwritten by the twin necessities of patronage and betting.[34] Cricket was prominent in London as early as 1707 and, in the middle years of the century, large crowds flocked to matches on the Artillery Ground in Finsbury.[citation needed] The single wicket form of the sport attracted huge crowds and wagers to match, its popularity peaking in the 1748 season.[35] Bowling underwent an evolution around 1760 when bowlers began to pitch the ball instead of rolling or skimming it towards the batsman. This caused a revolution in bat design because, to deal with the bouncing ball, it was necessary to introduce the modern straight bat in place of the old "hockey stick" shape.[36][citation needed]
The main objective of each team is to score more runs than their opponents but, in some forms of cricket, it is also necessary to dismiss all of the opposition batsmen in their final innings in order to win the match, which would otherwise be drawn.[66] If the team batting last is all out having scored fewer runs than their opponents, they are said to have "lost by n runs" (where n is the difference between the aggregate number of runs scored by the teams). If the team that bats last scores enough runs to win, it is said to have "won by n wickets", where n is the number of wickets left to fall. For example, a team that passes its opponents' total having lost six wickets (i.e., six of their batsmen have been dismissed) have won the match "by four wickets".[66]