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.
Cricket flour may be used as an additive to consumer foods such as pasta, bread, crackers, and cookies. The cricket flour is being used in protein bars, pet foods, livestock feed, nutraceuticals, and other industrial uses. The United Nations says the use of insect protein, such as cricket flour, could be critical in feeding the growing population of the planet while being less damaging to the environment.
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. The Laws of Cricket were updated in 2017 to allow substitutes to act as wicket-keepers, a situation that first occurred when Mumbai Indians' wicket-keeper Ishan Kishan was injured in a match on 18 April 2018.
Historically, cricket's origins are uncertain and the earliest definite reference is in south-east England in the middle of the 16th century. It spread globally with the expansion of the British Empire, leading to the first international matches in the second half of the 19th century. The game's governing body is the International Cricket Council (ICC), which has over 100 members, twelve of which are full members who play Test matches. The game's rules are held in a code called the Laws of Cricket which is owned and maintained by Marylebone Cricket Club (MCC) in London. The sport is followed primarily in the Indian subcontinent, Australasia, the United Kingdom, southern Africa and the West Indies, its globalisation occurring during the expansion of the British Empire and remaining popular into the 21st century. Women's cricket, which is organised and played separately, has also achieved international standard. The most successful side playing international cricket is Australia, which has won seven One Day International trophies, including five World Cups, more than any other country and has been the top-rated Test side more than any other country.
Captive crickets are omnivorous; when deprived of their natural diet, they accept a wide range of organic foodstuffs. Some species are completely herbivorous, feeding on flowers, fruit, and leaves, with ground-based species consuming seedlings, grasses, pieces of leaf, and the shoots of young plants. Others are more predatory and include in their diet invertebrate eggs, larvae, pupae, moulting insects, scale insects, and aphids. Many are scavengers and consume various organic remains, decaying plants, seedlings, and fungi. In captivity, many species have been successfully reared on a diet of ground, commercial dry dog food, supplemented with lettuce and aphids.
Crickets have many natural enemies and are subject to various pathogens and parasites. They are eaten by large numbers of vertebrate and invertebrate predators and their hard parts are often found during the examination of animal intestines. Mediterranean house geckos (Hemidactylus turcicus) have learned that although a calling decorated cricket (Gryllodes supplicans) may be safely positioned in an out-of-reach burrow, female crickets attracted to the call can be intercepted and eaten.
Other defensive strategies are the use of camouflage, fleeing, and aggression. Some species have adopted colourings, shapes, and patterns that make it difficult for predators that hunt by sight to detect them. They tend to be dull shades of brown, grey, and green that blend into their background, and desert species tend to be pale. Some species can fly, but the mode of flight tends to be clumsy, so the most usual response to danger is to scuttle away to find a hiding place.
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. 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".