The term referee originated in association football (soccer). In cricket, the match referee is an off-field who makes judgements concerning the reputable conduct of the game and hands out penalties for breaches of the ICC code of conduct.
The two on-field officials are called umpires (there is sometimes a third umpire off the field with a replay monitor for unclear run outs and stumpings), and they decide on all points of the game (runs, outs, wides, fours and sixes, etc.).
Chat with our AI personalities