Micro Project of AJP
Micro Project of AJP
COMPUTER DEPARTMENT
A MICROPROJECT
Report on
Computer Engineering
SUBMITTED BY
Sr No. Name of Student Roll No
1 Arshad Kondkari 12
2 Sujaat Koor 13
3 Shubham Mhatre 16
1
PART A
1.0 Rationale
A Cricket Management System (CMS) is essential for streamlining and automating the
various processes involved in managing cricket teams, players, tournaments, and match
statistics. It provides a centralized platform to store and manage player profiles, track
performance metrics, and handle scheduling of matches and training sessions. The system
helps administrators, coaches, and team managers efficiently manage player data, ensuring
real-time access to crucial information for better decision-making. It also simplifies
tournament management by automating fixture scheduling, live score updates, and match
result tracking.
A literature review for the Cricket Management System (CMS) project involves examining
existing research, systems, and technologies that have been applied to the management of
cricket and similar sports. While cricket management has traditionally relied on manual
processes, recent advancements in technology have significantly transformed how cricket
organizations handle player data, scheduling, and performance tracking. Several studies
have explored the application of Information Technology (IT) in sports management,
emphasizing the role of software systems in streamlining administrative tasks and
enhancing decision-making.
The proposed methodology for developing the Cricket Management System (CMS) will
follow a structured and iterative approach, combining aspects of Agile software
development and system design principles to ensure flexibility, user-centric design, and
robust functionality. The first phase of the project will involve **requirements gathering**
and **stakeholder analysis**, where input from key users—such as cricket administrators,
coaches, players, and fans—will be collected through surveys, interviews, and focus groups
to understand their specific needs and pain points.
2
4.0 Action Plan
Sr.
Name of Resource/Material Specifications Qty Remarks
No.
Processor(i3-i5),RAM-4GB and
1 Computer 1 Required
windows 11
3
PART B
1.0 Rationale
A Cricket Management System (CMS) is essential for streamlining and automating the
various processes involved in managing cricket teams, players, tournaments, and match
statistics. It provides a centralized platform to store and manage player profiles, track
performance metrics, and handle scheduling of matches and training sessions. The system
helps administrators, coaches, and team managers efficiently manage player data, ensuring
real-time access to crucial information for better decision-making. It also simplifies
tournament management by automating fixture scheduling, live score updates, and match
result tracking. By offering performance analytics, the CMS enables coaches to evaluate
individual and team strengths, identify areas for improvement, and make data-driven
decisions for player selection and match strategies.
A literature review for the Cricket Management System (CMS) project involves examining
existing research, systems, and technologies that have been applied to the management of
cricket and similar sports. While cricket management has traditionally relied on manual
processes, recent advancements in technology have significantly transformed how cricket
organizations handle player data, scheduling, and performance tracking. Several studies
have explored the application of Information Technology (IT) in sports management,
emphasizing the role of software systems in streamlining administrative tasks and
enhancing decision-making. For example, research on sports management systems has
shown that centralized databases improve data accuracy and accessibility, facilitating
better management of player statistics, match schedules, and performance metrics.
4
4.0 Actual Procedure Followed
class Player {
private String name;
private String role;
private int runs;
private int wickets;
5
public void addWickets(int wicketsTaken) {
this.wickets += wicketsTaken;
}
@Override
public String toString() {
return String.format("Name: %s, Role: %s, Runs: %d, Wickets: %d", name, role, runs,
wickets);
}
}
class Team {
private String name;
private List<Player> players;
6
}
}
return false;
}
public CricketManagementSystemAWT1() {
teams = new ArrayList<>();
7
gbc.gridx = 0;
gbc.gridy = 0;
inputPanel.add(new Label("Team Name:"), gbc);
gbc.gridx = 0;
gbc.gridy = 1;
inputPanel.add(new Label("Player Name:"), gbc);
gbc.gridx = 0;
gbc.gridy = 2;
inputPanel.add(new Label("Player Role:"), gbc);
gbc.gridx = 0;
gbc.gridy = 3;
inputPanel.add(new Label("Runs:"), gbc);
gbc.gridx = 0;
gbc.gridy = 4;
inputPanel.add(new Label("Wickets:"), gbc);
8
// Buttons for actions
Panel buttonPanel = new Panel();
buttonPanel.setLayout(new GridLayout(1, 6, 10, 10)); // Horizontal grid for buttons
Button addTeamButton = new Button("Add Team");
Button addPlayerButton = new Button("Add Player");
Button removePlayerButton = new Button("Remove Player");
Button updateRunsButton = new Button("Update Runs");
Button updateWicketsButton = new Button("Update Wickets");
Button displayTeamsButton = new Button("Display Teams");
buttonPanel.add(addTeamButton);
buttonPanel.add(addPlayerButton);
buttonPanel.add(removePlayerButton);
buttonPanel.add(updateRunsButton);
buttonPanel.add(updateWicketsButton);
buttonPanel.add(displayTeamsButton);
addPlayerButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
String teamName = teamNameField.getText();
String playerName = playerNameField.getText();
String playerRole = playerRoleField.getText();
int runs = Integer.parseInt(runsField.getText());
int wickets = Integer.parseInt(wicketsField.getText());
9
Player player = new Player(playerName, playerRole, runs, wickets);
boolean added = false;
for (Team team : teams) {
if (team.getName().equalsIgnoreCase(teamName)) {
team.addPlayer(player);
added = true;
break;
}
}
if (added) {
displayArea.append("\nPlayer '" + playerName + "' added to team '" +
teamName + "'");
} else {
displayArea.append("\nTeam '" + teamName + "' not found!");
}
clearInputFields();
}
});
removePlayerButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
String teamName = teamNameField.getText();
String playerName = playerNameField.getText();
boolean removed = false;
for (Team team : teams) {
if (team.getName().equalsIgnoreCase(teamName)) {
removed = team.removePlayer(playerName);
break;
}
}
if (removed) {
displayArea.append("\nPlayer '" + playerName + "' removed from team '" +
teamName + "'");
} else {
displayArea.append("\nPlayer '" + playerName + "' not found in team '" +
teamName + "'");
}
clearInputFields();
}
10
});
updateRunsButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
String teamName = teamNameField.getText();
String playerName = playerNameField.getText();
int runsScored = Integer.parseInt(runsField.getText());
boolean updated = false;
for (Team team : teams) {
if (team.getName().equalsIgnoreCase(teamName)) {
for (Player player : team.getPlayers()) {
if (player.getName().equalsIgnoreCase(playerName)) {
player.addRuns(runsScored);
updated = true;
break;
}
}
break;
}
}
if (updated) {
displayArea.append("\n" + runsScored + " runs added to " + playerName);
} else {
displayArea.append("\nPlayer '" + playerName + "' not found in team '" +
teamName + "'");
}
}
});
updateWicketsButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
String teamName = teamNameField.getText();
String playerName = playerNameField.getText();
int wicketsTaken = Integer.parseInt(wicketsField.getText());
boolean updated = false;
for (Team team : teams) {
if (team.getName().equalsIgnoreCase(teamName)) {
for (Player player : team.getPlayers()) {
if (player.getName().equalsIgnoreCase(playerName)) {
player.addWickets(wicketsTaken);
11
updated = true;
break;
}
}
break;
}
}
if (updated) {
displayArea.append("\n" + wicketsTaken + " wickets added to " +
playerName);
} else {
displayArea.append("\nPlayer '" + playerName + "' not found in team '" +
teamName + "'");
}
}
});
displayTeamsButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
displayArea.setText(""); // Clear the display area
for (Team team : teams) {
team.displayTeamInfo(displayArea);
}
}
});
12
playerRoleField.setText("");
runsField.setText("");
wicketsField.setText("");
}
Sr. Name of
Specifications Qty Remarks
No. Resource/Material
Processor(i3-i5),RAM-4GB and
1 Computer 1 Available
windows 11
13
6.0 Outputs of the Micro-Project
14
15
16
17
18
19
7.0 Skill Developed / learning out of this Micro-Project.
20
simulations of match scenarios could help players practice decision-making in
high-pressure situations or improve their reaction times.
• Fan Engagement: AR could also enhance fan experience by offering virtual tours
of stadiums, interactive replays, or even immersive experiences such as virtual seat
selection or "as-if-you-were-there" experiences during live matches.
21
6. Blockchain for Data Security and Transparency
22