C# 第十次作业

Gobang Game Glossary

Version 1.0

Revision History

Date Issue Description Author
18/April/2015 V1.0 Initial Creation Ruolan Yang
24/May/2015 V1.0 Generation for release Ruolan Yang

 

 

 

Table of Contents

1.      Introduction                                        

2.      Definitions

         2.1 Chessboard

         2.2 Black Chess

         2.3 White Chess

         2.4 Start

         2.5 Restart

         2.6 Move Back

         2.7 Close

 

Gobang Game Glossary

1.      Introduction  

         This document is used to define terminology specific to the problem domain, explaining terms, which may be unfamiliar to the reader of the use-case            descriptions or other project documents.  Often, this document can be used as an informal data dictionary, capturing data definitions so that use-                case descriptions and other project documents can focus on what the system must do with the information.                                     

2.      Definitions

         2.1 Chessboard

               The place that we play chess on it.

         2.2 Black Chess

               The chess that we play the first.

         2.3 White Chess

               The chess that we play after the black one.

         2.4 Start

               Begin the game.

         2.5 Restart

               Begin the game again.

         2.6 Move Back

               Cancel the last move.

         2.7 Close

               Finish the game.

         2.8 Row

               A combination of chess in the same colour

 

 

Gobang Game Statement

Version 1.0

Revision History

Date Issue Description Author
18/April/2015 V1.0 Initial Creation Ruolan Yang
24/May/2015 V1.0 Generation for release Ruolan Yang

 

 

 

Problem Statement

This Gobang Game is played between two opponents on a board by making moves with black chess and white chess. 

One of the players has at his disposal the black chess and the other player has white chess. 

Both the players must alternately make one move each time. Black (the player with the black chess) begins the game by making a move in the middle of the board. 

Black to play means that it is black turn to move. White to play means that it is white turn to move.

The player who get the first five chess in the same color in one role win the game.

Player can click start to begin the game and click close to finish the game.

Player can move back it last step through clicking move back.

Player can begin the game again through reatart the game.

 

 

Gobang Game Supplementary Specification

Version 1.0

Revision History

Date Issue Description Author
18/April/2015 V1.0 Initial Creation Ruolan Yang
24/May/2015 V1.0 Generation for release Ruolan Yang

 

 

 

Table of Contents

1.      Objectives

2.      Scope

3.      References

4.      Functionality

5.      Usability

6.      Reliability

7.      Performance

8.      Supportability

9.      Security

10.    Design Constraints

 

1. Objectives

The purpose of this document is to define requirements of the Gobang game.  This Supplementary Specification lists the requirements that are not readily captured in the use cases of the use-case model. The Supplementary Specifications and the use-case model together capture a complete set of requirements on the Application.

2. Scope

This Supplementary Specification applies to the Gobang Game, which will be developed by the students.

This specification defines the non-functional requirements of the system; such as reliability, usability, performance, and supportability as well as functional requirements that are common across a number of use cases. (The functional requirements are defined in the Use Case Specifications.).

3. References

none

4. Functionality

This Gobang Game is played between two opponents on a board by making moves with black chess and white chess.  One of the players has at his disposal the black chess and the other player has white chess.  Both the players must alternately make one move each time. Black (the player with the black chess) begins the game by making a move in the middle of the board.  Black to play means that it is black turn to move. White to play means that it is white turn to move. The player who get the first five chess in the same color in one role win the game. Player can click start to begin the game and click close to finish the game. Player can move back it last step through clicking move back. Player can begin the game again through reatart the game.

5. Usability

The desktop user-interface shall be Windows 7/8/8.1 compliant and winphone 8.0 compliant.

6.Reliability

Customer can shut down the computer and the game will be finish.

7.Performance

The application is a light one , so it doesn't have as much requirements as others. The calculation too easy to finish, so the costing time is very short.

8.Supportability

none

9.Security

none

10. Design Constraint

The app shall provide a Windows-based desktop interface, a Windows-based phone interface, and a WPF interface.

 

 

Requirement

 

1. Start

     1.1 Brief Description

           Begin the game.

     1.2 Flow of Events

           1.2.1 Basic Flow

                    Click the start button and the game start.

                    The two player can play chess in the chessbroad.

 

            1.2.2 Alternative Flows

                     If the game already started, nothing will happen.

     1.3 Special Requirements

           None.

     1.4 Pre-Conditions

           None.

     1.5 Post-Conditions

           If the use case was successful, you can play chess on the chessbroad. If not, you cannot play chess on it.

     1.6 Extension Points

           None.

 

2. Restart

     1.1 Brief Description

           Begin the game again.

     1.2 Flow of Events

           Click the restart button and the game start again.

           The two player can play chess in the chessbroad.

     1.3 Special Requirements

           None.

     1.4 Pre-Conditions

           None.

     1.5 Post-Conditions

           If the use case was successful, you can play chess on the chessbroad.

     1.6 Extension Points

           None.

 

3. Move Back

     1.1 Brief Description

           Cancel the last move.

     1.2 Flow of Events

           1.2.1 Basic Flow

                    Click the move back button and the cancel the last move.

                    The player who move back its chess can set the chess in the chessbroad again.

            1.2.2 Alternative Flows

                     If the game did not start, nothing will happen.

     1.3 Special Requirements

           None.

     1.4 Pre-Conditions

           None.

     1.5 Post-Conditions

           If the use case was successful, the player who move back its chess can set the chess in the chessbroad again. If not, nothing will happen.

     1.6 Extension Points

           None.

 

4. Close

     1.1 Brief Description

           Finish the game.

     1.2 Flow of Events

           Click the restart button and the game will be finished.

     1.3 Special Requirements

           None.

     1.4 Pre-Conditions

           None.

     1.5 Post-Conditions

           If the use case was successful, the game will be finished.

     1.6 Extension Points

           None.

posted @ 2015-05-24 18:12  空翎  阅读(156)  评论(0编辑  收藏  举报