Software Requirement: Specification
Software Requirement: Specification
Specification
for
Chess
Prepared by:
Mayra Aguas , Alfred Blackman, George D'Andrea,
Paul Vu, and Gurvinder Singh.
Contents:
1 INTRODUCTION ………………………………………………………………………… 1
1.1 Purpose ………………………………………………………………………… 1
1.2 Scope………………………………………………………………………… 1
1.3 Definitions……………………………………..………………………………..… 1
1.4 Overview ………………………………………………………………………… 2 2
OVERALL DESCRIPTION ………………………………………………………………. 3
2.1 Product perspective ……………………………………………………… 3
2.1.1 System interfaces ……………………………………………………… 3
2.1.2 User interfaces ……………………………………………………… 3
2.1.3 Hardware interfaces ……………………………………………………… 3
2.1.4 Software interfaces ……………………………………………………… 3
2.1.5 Communications interfaces ……………………………………………………… 4
2.1.6 Memory constraints ……………………………………………………… 4
2.1.7 Operations ……………………………………………………… 4
2.2 Product functions ……………………………………………………… 4
2.3 User characteristics ……………………………………………………… 4
2.4 Constraints ……………………………………………………… 4
2.5 Assumptions & dependencies ……………………………………………………… 4
2.6 Requirements Apportioning ……………………………………………………… 4
3 SPECIFIC REQUIREMENTS…………………………………………………………. 5
3.2 User interface…………………………………………………………………. 5
4 USE CASES …………………………………………………………………………. 12
4.2.1 Connect ………………………………………………………………………… 12
4.2.2 Move ………………………………………………………………………… 12
4.2.3 Redo ………………………………………………………………………… 13
4.2.4 Resign ………………………………………………………………………… 14
4.2.5 Save Log ………………………………………………………………………… 15
1 INTRODUCTION
1.1 Purpose
This document specifies all the requirements for the Chess game software. These requirements relate
to the functionality, constraints, performance, attribute and the system interface.
The Chess program is a program used to play game. First goal is to allow two users or players to
play the game interactively from remote locations. And the second goal will be that the program should
be working and allow the users to play the game.
1.2 Scope
This document describes the software requirements for the Chess program. This document will be used
by the end-users, tester, and developers of the game.
1.3 Definitions
Bishop: one of two pieces of the same color that may be moved any number squares diagonally, as long
as no other piece blocks its way. One piece always remains on White squares and the other always on
Black.
Castling: to move the king two squares horizontally and bring the appropriate rook to the square the
king has passed over.
Check: To make a move that puts the opponents King under direct attack.
Checkmate: a situation in which an opponent’s king is in check and it cannot avoid being captured. This
then brings the game to a victorious result.
Chess Board: A board you need to play Chess. Have 64 black and white square.
En Passant: a method by which a pawn that is moved two squares can be captured by an opponent's
pawn commanding the square that was passed
King: The main piece of the game, checkmating this piece is the object of the game. It can move 1
space in any direction.
Knight: This piece can move 1 space vertically and 2 spaces horizontally or 2 spaces vertically and
1 space horizontally. This piece looks like a horse. This piece can also jump over other pieces.
Pawn: One of eight men of one color and of the lowest value usually moved one square at a
time vertically and capturing diagonally.
Player or user: A user or a player will be the person that is playing the chess game.
Queen: This piece can move in any number of spaces in any direction as long as no other piece is in
its way.
Rook: one of two pieces of the same color that may be moved any number squares horizontally
or vertically, as long as no other piece blocks its way.
Stalemate: A situation in which a player’s king is not in check, but that player can make no move. This
then results is a stalemate, which is a draw.
1.4 Overview
The rest of this document describes the system requirements for the Chess program.
2 OVERALL DESCRIPTIONS
2.1 Product perspective
University students need an entertainment tool to enjoy and play with friends over the network. As
described in section 1.2, of this document, CHESS intend to fill this need by providing a software allows
entertainment with friends and over the network. Some software games allow playing games with
people that you may not know, and often times require a monthly fee for the service.
Client CHESS software has an interface to the user’s client to receiver user input and moves selections
for the game
Network CHESS software has an interface to the network in order to transmit information and
connect players.
Connect interface is used by game players and display player information .As players make moves,
the screen is updated to reflect the moves made in the game.
Client CHESS software interfaces with the user computer and expect that it have java 5
environment installed