SRS Template
SRS Template
Page
Instructor: Course:
Date:
Contents
1 INTRODUCTION...........................................................................................................................................................2
Software Requirements Specification for Tic-Tac-Toe Game Application Page 2 2 OVERALL DESCRIPTION...........................................................................................................................................3 3.SPECIFIC REQUIREMENTS......................................................................................................................................4 4 OTHER NON-FUNCTIONAL REQUIREMENTS....................................................................................................6 3 OTHER REQUIREMENTS...........................................................................................................................................7
Revisions
Version 1.0 Primary Author(s) R Sri Gayatri M Vamsi Priya Description of Version The Tic-Tac-Toe game is a 2 player game on a computer-one plays with Xs and the other as Os. Both these players play on the clients side. The server program evaluates the game and declares the winners or if the game is a draw. Date Completed 07/03/2013
1 Introduction
Tic-tac-toe, alternatively called noughts and crosses, Xs and Os, and many other names, is a pencil-and-paper game for two players, O and X, who take turns marking the spaces in a 33 grid, usually X going first. The player who succeeds in placing three respective marks in a horizontal, vertical, or diagonal row wins the game or In Tic-Tac-Toe a game can end with a player winning (getting 3 of his pieces in row) or end in a draw (no spaces left on the board with no-one winning).
Page
not the game is a win or a draw. If it is a win, the server declares which player is the winner. The program is implemented in C#.
2 Overall Description
2.1 Product Perspective
Page
3.Specific Requirements
3.1External Interface Requirements
3.1.1User Interfaces
The user interface for the Tic-Tac-Toe game application is the game board. It is from this board that a user plays the game. On winning a game, it should display a dialog box showing who the winner is.
Page
3.1.3Software Interfaces An interface game board containing blocks for x and os for a player to play the game is provided.
3.2Functional Requirements
1. Displaying a 3x3 grid: This grid is required to play the Tic-Tac-Toe game. It is on this grid that the two players take turns marking the spaces as X and O. 2. Alternating between X and O Players: This game requires two players, one playing as X and one playing as O (with X usually starting). To ensure that a player doesnt play twice, switching between them is required. 3. Determining the Winner of the Game: Once a player wins the game, the message should be displayed which player won. If no one won the game, then it is a draw. 4. Displaying Score Details: There must be 3 columns for maintaining the scores. One for each player and one for the games which were a draw. 5. Providing Option to Play Again: The game must provide an option to either play again or to exit the game.
3.3Behaviour Requirements
3.3.1Use Case View
Page
Page
3 Other Requirements
1. Providing Game Sounds: The game must also provide background sounds. The user also has the facility to mute the sounds whenever he/she pleases. 2. Providing Instructions to play the Game: For players who are new to the game, instructions are given, so that they too can play. 3. Providing Hints: Hints are to be given whenever the player requests hints.