Scoring and winning
Law 18: Scoring runs. Runs are scored when the two batsmen run to each other's end of the pitch. Several runs can be scored from one ball.
Law 19: Boundaries. A boundary is marked round the edge of the field of play. If the ball is hit into or past this boundary, four runs are scored, or six runs if the ball didn't hit the ground before crossing the boundary.
Law 20: Lost ball. If a ball in play is lost or cannot be recovered, the fielding side can call "lost ball". The batting side keeps any penalty runs (such as no-balls and wides) and scores the higher of six runs and the number of runs actually run.
Law 21: The result. The side which scores the most runs wins the match. If both sides score the same number of runs, the match is tied. However, the match may run out of time before the innings have all been completed. In this case, the match is drawn.
Law 22: The over. An over consists of six balls bowled, excluding wides and no balls. Consecutive overs are delivered from opposite ends of the pitch. A bowler may not bowl two consecutive overs.
Law 23: Dead ball. The ball comes into play when the bowler begins his run up, and becomes dead when all the action from that ball is over. Once the ball is dead, no runs can be scored and no batsmen can be dismissed. The ball becomes dead for a number of reasons, most commonly when a batsman is dismissed, when a boundary is hit, or when the ball has finally settled with the bowler or wicketkeeper.
Law 24: No ball. A ball can be a no ball for several reasons: if the bowler bowls from the wrong place; or if he straightens his elbow during the delivery; or if the bowling is dangerous; or if the ball bounces more than twice or rolls along the ground before reaching the batsman; or if the fielders are standing in illegal places. A no ball adds one run to the batting team's score, in addition to any other runs which are scored off it, and the batsman can't be dismissed off a no ball except by being run out, or by handling the ball, hitting the ball twice, or obstructing the field.
Law 25: Wide ball. An umpire calls a ball "wide" if, in his or her opinion, the batsman did not have a reasonable opportunity to score off the ball. A ball is called wide when the bowler bowls a bouncer that goes over the head of the batsman. A wide adds one run to the batting team's score, in addition to any other runs which are scored off it, and the batsman can't be dismissed off a wide except by being run out or stumped, or by handling the ball, hitting his wicket, or obstructing the field.
Law 26: Bye and Leg bye. If a ball that is not a no ball or wide pa**es the striker and runs are scored, they are called byes. If a ball that is not a no ball hits the striker but not the bat and runs are scored, they are called leg-byes. However, leg-byes cannot be scored if the striker is neither attempting a stroke nor trying to avoid being hit. Byes and leg-byes are credited to the team's but not the batsman's total.