0% found this document useful (0 votes)
38 views10 pages

Computer Synopsis Project

The document outlines a project report for a Python-based simulation game of cricket developed by a group of students. The game aims to engage users with cricket rules while teaching Python programming, featuring toss simulation, innings, score calculation, and match outcomes. It also discusses the project's scope, limitations, and the roles of each student in the development process.

Uploaded by

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

Computer Synopsis Project

The document outlines a project report for a Python-based simulation game of cricket developed by a group of students. The game aims to engage users with cricket rules while teaching Python programming, featuring toss simulation, innings, score calculation, and match outcomes. It also discusses the project's scope, limitations, and the roles of each student in the development process.

Uploaded by

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

:Computer Science

Project
Report:

Names:
i) Aarush Raj Agarwal
ii) Anubhab Ray
iii) Arjyaratna Paul
Chowdhury
iv) Samarpan Ghosh

Topic: Game of Cricket - A


Python-Based Simulation

Class : XI
Section: J

Objective of the Proposed System:


The objective of this project is to create a simple, text-
based Python game that simulates a cricket match
between a player and the computer. The game will
incorporate basic cricket rules, such as scoring runs,
losing wickets, and determining the winner based on the
highest runs. The project aims to provide a fun and
interactive way to engage with the concepts of cricket
while also learning Python programming.
Input and Output of the Proposed System:
 Input:
o Player's chosen number (1 to 6) for both

batting and bowling.


o Random number generated by the computer

for both batting and bowling.


 Output:
o The runs scored by the player and the

computer.
o Wickets lost by the player and the computer.

o Final result of the match showing the winner.


Overall, the input and output structure is designed to
create an interactive and engaging experience, where
the player can see the immediate effects of their
decisions and track the progress of the match in real
time.

Functions or Features of the Proposed System:


The proposed system simulates a simple cricket game
between a player and the computer. Here is a
breakdown of its functions and features:
Key Features:
1. Toss Simulation:
o The player chooses either Heads or Tails.

o The system generates a random toss result, and

based on that, the player either wins or loses


the toss.
o If the player wins, they choose to either bat or

ball. If they lose, the computer randomly


decides.
2. Innings and Gameplay:
o Two Innings System: Both the player and the

computer get a chance to bat and ball, with a


total of 12 balls per innings.
o Batting Mechanism: The player inputs a

number between 1 and 6 as their shot.


Simultaneously, the computer generates a
random number in the same range. If the
numbers match, the player or computer is out;
otherwise, the score is added to the respective
total.
o Wickets and Balls: The player and computer

each have 2 wickets and 12 balls per innings.


If wickets fall or balls run out, the innings
change.
3. Score Calculation and Match Outcome:
o After both innings are completed, the system

compares the scores of the player and the


computer.
o The winner is declared based on the higher

score, or it is a draw if the scores are the same.

Hardware & Software to be Used:


Hardware:
 A basic computer/laptop with a modern CPU.
 Keyboard and display for inputs and outputs.
Software:
 OS: Windows, macOS, or Linux.
 Python 3.x and an IDE or code editor for
development.
 Optional: GUI frameworks like Tkinter or Pygame
for future enhancements.
Scope and Limitations of the Project:
Scope:
The scope of the project includes:
 Game Mechanics: The project will implement
basic cricket rules, such as scoring runs, losing
wickets, and determining the match's outcome
based on the highest score.
 User Interaction: Players will be able to input
their chosen numbers for batting and bowling,
simulating their actions in the game.
 Randomization: The computer's actions will
be determined using a random number
generator, providing a realistic simulation of
unpredictability in cricket.
 Score Calculation: The program will
calculate and display the runs scored, wickets
lost, and the final result, showing the winner
of the match.
 Educational Value: The project serves as an
educational tool to help students understand
Python programming while engaging with the
sport of cricket.

Limitations:
Some potential limitations of the project are:
1. Game Rules:
 Simple gameplay: The game mechanics seem
straightforward, which might lead to repetitive
and less engaging gameplay.
 Lack of strategy: The game's outcome relies
heavily on random number generation, leaving
little room for player strategy or decision-
making.
 Limited interaction: The game might not
offer much interaction between players or with
the game environment.
2. Technical Limitations:
 Platform dependence: The project might be
limited to a specific programming language,
operating system, or platform.
 Scalability: The project's design and
architecture might not accommodate large
amounts of data, users, or traffic.
 Security: The project might not address
potential security concerns, such as data
encryption or user authentication.
3. General Limitations:
 Time constraints: The project's scope and
complexity might be limited by the time
available for completion.
 Resource constraints: The project might be
restricted by the resources available, such as
computational power, memory, or storage.
 Maintenance and updates: The project might
not have a clear plan for maintenance, updates,
or future development.
4. Project Ideas:
 Narrow scope: The projects listed might have
a limited scope, focusing on specific, well-
defined problems rather than more complex,
real-world issues.
 Lack of innovation: The ideas might not
encourage innovative solutions or cutting-edge
technologies.
5. SOURCE CODE
Role of Students:

1) Samarpan Ghosh:- Objective , Input and


Output of the Program.

2) Anubhab Ray:- Functions of the proposed


system, Hardware and Software to be used.

3) Aarush Raj Agarwal:- Scope of the project.

4) Arjyaratna Paul Chowdhury:- Limitations of


the project.

You might also like