DICE CRICKET

  • Published on
    14-Apr-2015

  • View
    90

  • Download
    4

Embed Size (px)

Transcript

OPERATING SYSTEMS PROJECT ON

DICE CRICKET

Submitted to : Prof Persis Urbana Ivy

DONE BY: SONERI DESHPANDE(10BIT0073) DISHTI MALHOTRA(10BIT0132) SAMRIDHI(1OBIT0217)

Playing Cricket using Dice Dice CricketSoneri Deshpande, Dishti Malhotra, Samridhi SITE, VIT-Vellore samridhi.2010@vit.ac.in

AbstractCricket is a very popular game in India. In every nook and corner of our country, from kids to elderly; all take keen interest in Cricket. The game has become the spirit of our country. Also , dice games are an old friend of ours. People have been playing Ludo since past many years. Hence the concept of the two games has been combined to produce a new game in which play Cricket using dice. The Dice is rolled to move through the path, the number on the dice decides the number of steps to be taken. The mouse stops at the point and whatever is the run or the letter(which signifies the dismissal of the player from the game)that is counted as runs or wickets. The game is easy to understand and play. And its interactive environment helps a novice player.

KeyWords: Cricket rules, dice roll

I.

Introduction

Dice Cricket has been developed using the rules of Cricket and the basics of rolling a dice. It is an easy game which gives even the novice a chance to feel like a century batsman. The concept comes from the Pocket Cricket designed by Hamish Streling and Paul McLellan. In the pocket Cricket, there are 6 dice; 3 for the bowling team and 3 for the batting team. The game is played in teams with each team being allotted 3 dice. In our version of Dice Cricket, we have a platform where an individual player plays the game and the computer responds. The game begins by pressing the start button which

makes all; the score, the runs, the number of balls and the overs zero. Then the computer instructs to roll the dice to begin the game. As we roll the dice, we get a number on the top of the dice and we have to enter that number. Then following the arrow mark, we move on the buttons. We number which comes on the dice,that many buttons we cross and stop on the last. If its a red button the player loses a wicket. And if its blue the player scores. If the wickets become five the game terminates. Overs are calculates using the number of balls. The game is restricted on the number of wickets and not on the number of overs played. These are the rules of cricket on which the game is based. Scoring and winning The laws then move on to discuss how runs can be scored and how one team can beat the other. 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 passes 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 legbyes. 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. Mechanics of dismissal Laws 27 to 29 discuss the main mechanics of how a batsman may be dismissed. Law 27: Appeals. If the fielders believe a batsman is out, they may ask the umpire "How's That?", commonly shouted emphatically with arms raised, before the next ball is bowled. The umpire then decides whether the batsman is out. Strictly speaking, the fielding side must appeal for all dismissals, including obvious ones such as bowled. However, a batsman who is obviously out will normally leave the pitch without waiting for an appeal or a decision from the umpire. Law 28: The wicket is down. Several methods of being out occur when the wicket is put down. This means that the wicket is hit by the ball, or the batsman, or the hand in which a fielder is holding the ball, and at least one bail is removed. Law 29: Batsman out of his ground. The batsmen can be run out or stumped if they are out of their

ground. A batsman is in his ground if any part of him or his bat is on the ground behind the popping crease. If both batsman are in the middle of the pitch when a wicket is put down, the batsman closer to that end is out. Ways to get out Laws 30 to 39 discuss the various ways a batsman may be dismissed. In addition to these 10 methods, a batsman may retire out. That provision is in Law 2. Of these, caught is generally the commonest, followed by bowled, leg before wicket, run out and stumped. The other forms of dismissal are very rare. Law 30: Bowled. A batsman is out if his wicket is put down by a ball delivered by the bowler. It is irrelevant whether the ball has touched the bat, glove, or any part of the batsman before going on to put down the wicket, though it may not touch another player or an umpire before doing so. Law 31: Timed out. An incoming batsman must be ready to face a ball (or be at the crease with his partner ready to face a ball) within 3 minutes of the outgoing batsman being dismissed, otherwise the incoming batsman will be out.

Law 32: Caught. If a ball hits the bat or the hand holding the bat and is then caught by the opposition within the field of play before the ball bounces, then the batsman is out. Law 33: Handled the ball. If a batsman willfully handles the ball with a hand that is not touching the bat without the consent of the opposition, he is out. Law 34: Hit the ball twice. If a batsman hits the ball twice, other than for the sole purpose of protecting his wicket or with the consent of the opposition, he is out. Law 35: Hit wicket. If, after the bowler has entered his delivery stride and while the ball is in play, a batsman puts his wicket down by his bat or his body he is out. The striker is also out hit wicket if he puts his wicket down by his bat or his body in setting off for a first run. "Body" includes the clothes and equipment of the batsman. Law 36: Leg before wicket (LBW). If the ball hits the batsman without first hitting the bat, but would have hit the wicket if the batsman was not there, and the ball does not pitch on the leg side of the wicket, the batsman will be out. However, if the ball strikes the batsman outside the line of the offstump, and the batsman was

attempting to play a stroke, he is not out. Law 37: Obstructing the field. If a batsman willfully obstructs the opposition by word or action, he is out. Law 38: Run out. A batsman is out if at any time while the ball is in play no part of his bat or person is grounded behind the popping crease and his wicket is fairly put down by the opposing side. Law 39: Stumped. A batsman is when the wicket-keeper (see Law puts down the wicket, while batsman is out of his crease and attempting a run. out 40) the not

4 6) Another for aggressive shots(like hook shot,pull shot). The bowling side dices have one for different wickets like bowled,stumped,etc. Another for giving extra runs. The players need to keep a record of the runs and wickets. So pocket cricket needs pen and paper. Hand Cricket is a team sport played mainly by school pupils and university students in the United Kingdom and Salesian College students on the passive recreation area. Unlike cricket, it is played without a bat and a tennis ball is used instead of a traditional leather cricket ball. The aim of the game is to score more runs than the other team in a format identical to cricket. The batsmen (or more correctly handsmen) play shots using the back