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.
There are various formats ranging from Twenty20, played over a few hours with each team batting for a single innings of 20 overs, to Test matches, played over five days with unlimited overs and the teams each batting for two innings of unlimited length. Traditionally cricketers play in all-white kit, but in limited overs cricket they wear club or team colours. In addition to the basic kit, some players wear protective gear to prevent injury caused by the ball, which is a hard, solid spheroid made of compressed leather with a slightly raised sewn seam enclosing a cork core which is layered with tightly wound string.
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. 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. A different mutation with the same effect was also discovered on the neighboring island of Oahu (ca. 100 miles (160 km) away). 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.
Before a match begins, the team captains (who are also players) toss a coin to decide which team will bat first and so take the first innings. Innings is the term used for each phase of play in the match. In each innings, one team bats, attempting to score runs, while the other team bowls and fields the ball, attempting to restrict the scoring and dismiss the batsmen. When the first innings ends, the teams change roles; there can be two to four innings depending upon the type of match. A match with four scheduled innings is played over three to five days; a match with two scheduled innings is usually completed in a single day. During an innings, all eleven members of the fielding team take the field, but usually only two members of the batting team are on the field at any given time. The exception to this is if a batsman has any type of illness or injury restricting his or her ability to run, in this case the batsman is allowed "A Runner" who can run between the wickets when the batsman hits a scoring run or runs. The order of batsmen is usually announced just before the match, but it can be varied.
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.