Assignment 1: Submitted by

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

Assignment 1

Submitted By:
1. Rimsha Arif (FA18-BSE-006)
2. Arose Niazi (FA18-BSE-010)

Cricket Simulation
Source
https://github.com/Arose-Niazi/Cricket-Simulation

Description
This pc game was developed as a semester project which simulates a cricket match between
two players and records their performances simultaneously. Moreover, a player can make some changes
according to their needs such as the number of overs to be played can be changed.

System Structure
Functional Behavior
1. The system allows the user to set fielding according to their choice. Not more than 1 fielder
could stand at the same spot. To set it, the system enables the user to click on the fielder before
the ball is bowled, once it is selected the user can move the fielder with mouse and click to place
it in new location. If the placement is unsuccessful the system resets the fielder to old location.
2. The system displays a registration menu to the user if they do not have an account. Once the
user logged into the system, he/she can select overs and then the system gives them the option
to bowl or bat first once they win the toss.

Interactions

1. Match contains a
bowler, ball, and
fielders.
2. The bowler is the one
who interacts with
ball to throw it.
3. The ball interacts with
the fielder to see if
the catch was taken or
dropped.

Non-Functional Properties
1. Usability

Simple to utilize interface for users and is organized in such a way that user errors are minimized.

2. Integrity

User emails and password are secured, and the system does not allow unauthorized persons to access
another user’s account.

Implementation
 Java 8
 JavaFX
 MySQL

You might also like