0% found this document useful (0 votes)
6 views

CSS CLAS XI

The document presents an investigatory project on creating a 'Cricket Game in Python' by Gaurang Sambare, a student of D.A.V Public School, New Panvel. It includes acknowledgments to teachers and family, an introduction to the game's features, and a conclusion discussing the game's mechanics and potential improvements. The project emphasizes the interactive nature of the game, which simulates cricket gameplay through programming logic and randomization.

Uploaded by

r37812250
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

CSS CLAS XI

The document presents an investigatory project on creating a 'Cricket Game in Python' by Gaurang Sambare, a student of D.A.V Public School, New Panvel. It includes acknowledgments to teachers and family, an introduction to the game's features, and a conclusion discussing the game's mechanics and potential improvements. The project emphasizes the interactive nature of the game, which simulates cricket gameplay through programming logic and randomization.

Uploaded by

r37812250
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 13

D.A.

V Public School, New Panvel

Computer Science
Investigatory Project
Topic-”Cricket Game in Python”

NAME : Gaurang Sambare


STD : XI – A
ROLL NO: 32
ACKNOWLEDGEMENT
I wish to express my deep gratitude and sincere thanks to
my Respected Principal Sir, Mr. Sumanth Ghosh of
D.A.V. Public School, New Panvel for his encouragement
and for all the facilities that he provided for this project
work on ‘Cricket Game In Python’ which also
encouraged me to do a lot of research work and learn about
new things.
I extend my thanks to my subject teacher Mrs. Neelu
Raina Ma’am. I take this opportunity to express my deep
sense of gratitude for her invaluable guidance, useful
suggestions and constant encouragement, which has
sustained my efforts at all stages of this project work. I
can’t forget to offer my sincere thanks to my parents and
friends who helped me to carry out this project work and
thank them for their valuable advice and support, which I
received from time to time.
INTRODUCTION
• Cricket Game: A Python Program
• Welcome to the Cricket Game, a Python program
that brings the excitement of cricket to your
screen. This interactive game it lets you play
against the computer, making crucial decisions
just like in a real cricket match. Test your strategy,
luck, and decision-making skills in this thrilling
game of runs and wickets!
• Program Features:
• Toss a coin to decide whether to bat or bowl first.
• Play two overs (12 balls per innings) and try to
outscore your opponent.
• Score runs by choosing numbers, but beware—if
your number matches the opponent’s, you lose a
wicket!
• Chase a target or defend your score in the second
innings.
• Enjoy a fun, interactive cricket experience with
simple controls.
Input
Output
CONCLUSION

• Game Mechanics – The code correctly


simulates hand cricket with batting,
bowling, and scoring rules.
• Conditional Logic – Proper if-else
conditions ensure accurate gameplay
flow and role switching.
• Randomization – random.randint() adds
unpredictability, making the game
engaging.
• Innings Transition – Runs and targets are
handled well for a fair chase.
• Improvements – Adding multiple wickets
and better visuals (e.g., colors, delays)
could enhance user experience.
BIBLIOGRAPHY

Stationary referred:
⦁Computer Science With PYTHON By Sumita
Arora

Websites:
⦁https://docs.python.org/3/tutorial
⦁https://www.w3school.com/python/
⦁https://www.nmt.edu/tcc/help/pubs/tkinter
/tkinter.pdf
https://tkdocs.c
TEACHER’S
EVALUATION AND
REMARK

THANK YOU!!!

You might also like