23
Software Requirement Specification- IT Service Request Form Software Requirement Specification Document- Toilet Janitor T.S.Huang 2010/03/17 Table of Contents 1.0 APPROVAL FORM………………………………………………………………………………3 1.1 PREFACE……………………………………………………………………………………….4 1.1.1 What is this document………………………………………………………………………….4 1.1.2 Who should read this document………………………………………………………………4 1.1.3 Related documents……………………………………………………………………………...4 1.1.4 Assumptions……………………………………………………………………………………4 Organization Original Power Create Co. Title/Subject Toilet Janitor Doc Number Owner: T.S.Huang Approved by Date 6/10/2022 Version 1.0 Page 1

Software Requirement Specification Document 20100317

Embed Size (px)

Citation preview

Page 1: Software Requirement Specification Document 20100317

Software Requirement Specification- IT Service Request Form

Software Requirement Specification

Document-Toilet Janitor

T.S.Huang 2010/03/17

Table of Contents

1.0 APPROVAL FORM………………………………………………………………………………3

1.1 PREFACE……………………………………………………………………………………….4

1.1.1 What is this document………………………………………………………………………….4

1.1.2 Who should read this document………………………………………………………………4

1.1.3 Related documents……………………………………………………………………………...4

1.1.4 Assumptions……………………………………………………………………………………4

1.1.5 Constraints………………………………………………………………………………………4

1.1.6 Definitions, Acronyms and Abbreviations……………………………………………………4

1.2 OVERVIEW OF LOGICAL FUNCTION COMPONENTS……………………………………………..5

1.3 FUNCTION LIST…………………………………………………………………………………6

Organization Original Power Create Co.

Title/SubjectToilet Janitor

Doc Number

Owner: T.S.Huang Approved by Date 4/15/2023 Version 1.0 Page 1

Page 2: Software Requirement Specification Document 20100317

Software Requirement Specification- IT Service Request Form

1.4 FUNCTIONAL SPECIFICATION……………………………………………………………………6

1.4.1 GUI for Function………………………………………………………………………………..6

PLEASE DESCRIBE THE DETAILS OF OUTPUT FROM THE BUSINESS PROCESS

1.5 USE CASE MODEL – OOAD…………………………………………………………………15

1.6 USE CASE DESCRIPTION - OOAD

1.6.1 Use Case <Use Case 1>

1.6.1.1 Description

1.6.1.2 Flow of Events

1.6.1.3 Special Requirements (option)

1.6.1.4 Precondition

1.6.1.5 Post Condition

1.6.1.6 Special Constraint (Option)

1.6.1.7 GUI Interface (Option)

1.6.2 Use Case <Use Case 2>

1.7 Domain Object List - OOAD

1.1 Preface

1.1.1 What is this document

這份文件是由系統分析者的角度來撰寫 Toilet Janitor的軟體需求規格書提供一個解決方案給程式設計師,因此文件內容將描述遊戲運作的流程和邏輯判斷等相關資訊.

1.1.2 Who should read this document

System Key users : 協助遊戲開發與測試的 Key user.

SA & SD : 負責設計企畫的設計師.

Programer : 負責開發的程式設計師.

Other users: 其他協力開發者(美工、音樂…).

1.1.3 Related documents

User Requirement Document.

Organization Original Power Create Co.

Title/SubjectToilet Janitor

Doc Number

Owner: T.S.Huang Approved by Date 4/15/2023 Version 1.0 Page 2

Page 3: Software Requirement Specification Document 20100317

Software Requirement Specification- IT Service Request Form

1.1.4 Assumptions

本文件由 T.S.自行檢討與撰寫.

本文件僅供 iPhone Game- Toilet Janitor開發使用.

1.1.5 Constraints

NA

1.1.6 Definitions, Acronyms and Abbreviations

Abbreviation Description

GUI Graphic User Interface

Flow chart descriptions and samples:

Flow chart Description Sample

Initial status

Decision condition

Input data

Process

Organization Original Power Create Co.

Title/SubjectToilet Janitor

Doc Number

Owner: T.S.Huang Approved by Date 4/15/2023 Version 1.0 Page 3

Start to track in

Hold or not

Lot IdEQPId

Confirm lot qty

Page 4: Software Requirement Specification Document 20100317

Software Requirement Specification- IT Service Request Form

Process with system function

(Superscript “Pxx” is for function

number related to section 4.2.2.1)

User prepare data

Output

Terminal point

Data preparation

1.2 Overview of Logical Function ComponentsN/A

1.3 Function List

1. 遊戲主選單介面Organization Original Power Create Co.

Title/SubjectToilet Janitor

Doc Number

Owner: T.S.Huang Approved by Date 4/15/2023 Version 1.0 Page 4

Track in

Prepare Lot list

Result of Track In action

Track in complete

Query MES Data

Page 5: Software Requirement Specification Document 20100317

Software Requirement Specification- IT Service Request Form

難易度選取 相片匯入或 Bonus人物設定選取介面 中英文版本選取?(初步決定只有英文版)

Help說明介面 讀取存檔記錄介面

2. 角色選取介面3. 商店購物介面(關卡分段點介面)

4. 主遊戲介面 Janitor介面 Usher介面

5. 結束介面 Game over

破關-人物介紹

1.4 Functional Specification

1.4.1遊戲主選單介面:

1. 遊戲選單- Choice role、Voice setup、Photo import、Help

2. 畫面重覆播放遊戲片頭曲3. “Play” 按鈕 =>進入到角色輸入介面4. “Voice setup” 按鈕=> 開關音樂5. “ Photo import” 按鈕=>進入相片裁剪區,匯入大頭照後,選擇 Body(男、女、小孩、老人) ?匯入相片後,畫面圖示縮小看不清楚是否有意義?是否要改為選特定NPC角色?或者取名字?特色賣點?

Organization Original Power Create Co.

Title/SubjectToilet Janitor

Doc Number

Owner: T.S.Huang Approved by Date 4/15/2023 Version 1.0 Page 5

Photo確認

取消

Choice role

Voice setup

Photo importHelp

Page 6: Software Requirement Specification Document 20100317

Software Requirement Specification- IT Service Request Form

左方是匯入大頭貼相片的功能 右方可選取NPC的 Body,被選取的NPC會將頭部用縮小的相片替代(如果難度過高,就改選取特定的NPC角色)

6. “Help” 按鈕=>進入Help 說明畫面

1.4.2角色選取介面:

1. 兩個角色方框,各自有兩個 button,可選取 Play和 Continue功能.

2. Play 即開始遊戲(依所選的角色).

3. Continue即叫出上一次的關卡記錄.

1.4.3商店購物介面(關卡分段點介面):

1. 遊戲完成一小關後會進入商店採購畫面.

2. 點選+號採購寶物-號賣出寶物

1.4.4主遊戲介面:

Organization Original Power Create Co.

Title/SubjectToilet Janitor

Doc Number

Owner: T.S.Huang Approved by Date 4/15/2023 Version 1.0 Page 6

3 4

4/6

可翻頁

Toilet Janitor Toilet Usher

Play

Continue

說明

圖示+標價

圖示+標價

功能說明

功能說明

存檔離開

繼續下一關

3000

總金額

0

1

數量

+購買 ,-賣出

4/

1

2

246/

9

12

13

14

Page 7: Software Requirement Specification Document 20100317

Software Requirement Specification- IT Service Request Form

Toilet Janitor-目標在讓所有人可以順利上完廁所避免被投訴1. 衛生紙補充區(左右兩邊各一個補充區)-點選補充區 Janitor會開始往被選取的補充區走過去,碰到補充區時,右上方的數字會補滿到 30(代表 30格衛生紙,

依難易度,困難的最高 15格,一般的 20格,簡易的 30格)補充衛生紙時間(Hard:2秒Normal:1.5秒 Easy:1秒),

2. 為 Janitor的行徑,同一時間只能有一格顯示圖示,當點選廁所或衛生紙補充區時,Janitor會朝向點選方向以固定間隔顯示圖示(代表走動)直到目的地,Janitor

每走一格需要花費時間(Hard:0.75秒Normal:0.5秒 Easy:0.3秒),若走到廁所前開始補充衛生紙會由行進圖片切換為補充動作的圖片會暫停 0.5秒,走到衛生紙補充區時會由移動圖片切換為拿取衛生紙動作

3. 廁所間數(Hard:5間Normal:4間 Easy:3間),廁所圖示和背景會隨難易度 or 關數而有所不同, 每間廁所左上方會顯示分數是 3/6(剩餘衛生紙數/容量數),每個排隊上廁所的NPC左右方各有一個不同顏色的小數字,左方是使用上廁所衛生紙用量,右方是上廁所的時間,上廁所期間右方數字會減少至 0後,左方數字會扣掉實際廁所剩餘數後跟著下降,若扣除廁所供應衛生紙後後不為 0,則NPC開始出現哭泣,大喊完蛋了,衛生紙不夠用,然後哭著跑出廁所,若扣除後左右數字皆為零可得分數(獎金),然後走出廁所,哭泣時間持續 3秒,然後在右下方出現特寫鏡頭圖片播放

4. 廁所前排Queue的第一排-這排Queue無法操控,系統自動判斷所排的廁所開始出廁所時,就開始往廁所移動(系統操作),一旦進入廁所立刻變為上廁所圖示,開始計算時間倒數,進廁所走一格需要花費時間(Hard:0.75秒Normal:0.5秒Easy:0.3秒)

5. 廁所前排Queue的第二排,在不同的玩法下可操控,但在 Janitor的角色則由系統操控,會自動遞補前一個 queue所遺留的空缺, 所走一格需要花費時間(Hard:0.75秒Normal:0.5秒 Easy:0.3秒)

6. 廁所前排Queue的第三排,不會排人(隱藏的據點),是用來顯示人物移動和消耗時間的(若圖示太小或增加開發難度,可考慮拿掉此一排的功能), 所走一格需要花費時間(Hard:0.75秒Normal:0.5秒 Easy:0.3秒) ,若有第三排則,第一個位置先走中間的空格再向兩旁的目標走去

7. 廁所前排Queue的第四排(主Queue,尚未分配到每間廁所的副Queue),會固定有 6位NPC排隊等候(會自動補滿 6位直到右上方的總人數等於 0,總人數會隨著人數補充不斷減少),系統自動判斷當廁所前的Queue開始空出位置時,就

Organization Original Power Create Co.

Title/SubjectToilet Janitor

Doc Number

Owner: T.S.Huang Approved by Date 4/15/2023 Version 1.0 Page 7

3 43

45

678

1011

Page 8: Software Requirement Specification Document 20100317

Software Requirement Specification- IT Service Request Form

自動遞補,同時有多間廁所的Queue空缺,以先空缺的先補,同時的話以最右邊先補(or最近的先補),如果畫面空間不夠大,NPC可只露出上半身

8. NPC特寫鏡頭,當NPC於規則三的條件下(or刻意被捉弄時),開始哭泣吵鬧,大喊完蛋了,就於此顯示 5秒的特寫鏡頭(切換數張圖片)

9. 總人數-每關的總人數顯示,會隨著下方NPC Queue的補充而減少,全部消化完就過關

10.寶物列表,點選寶物就可以有特效產生幫助過關11. Toilet Usher的人物角色,無功用,不會動,但可以固定切換圖片代表指揮Queue

12.時鐘,此關在 Toilet Janitor無用處,純顯示,但在 Toilet Usher時會判斷早上 9:00

到下午 17:00,時間到則Usher就下班關閉廁所,在第四排 Queue放置 stop禁止的符號立牌

13.記錄被投訴次數,投訴 3次就 game over,但惡搞特定NPC行為不列入投訴次數?

14.代表 Janitor的圖像顯示,有四種圖示,兩張圖代表移動中,一張代表到補充區拿取衛生紙,一張圖代表到廁所補充衛生紙

Toilet Usher-目標在一定的時間內讓最多人可以上廁所,統計最高分1. 在玩Usher的角色時,衛生紙補充區(左右兩邊各一個補充區)無功用-Janitor

不需重新補充衛生紙,格數永遠鎖定 30格(滿的),由電腦操控不用計算2. 為 Janitor的行徑,同一時間只能有一格顯示圖示,當點選廁所或衛生紙補充區時,Janitor會朝向點選方向以固定間隔顯示圖示(代表走動)直到目的地,

Janitor每走一格需要花費時間(永遠固定 0.3秒),若走到廁所前開始補充衛生紙會由行進圖片切換為補充動作的圖片會暫停 0.5秒

3. 廁所間數(Hard:5間Normal:4間 Easy:3間),廁所圖示和背景會隨難易度 or 關數而有所不同, 每間廁所左上方會顯示分數是 3/6(剩餘衛生紙數/容量數),每個排隊上廁所的NPC左右方各有一個不同顏色的小數字,左方是使用上廁所衛生紙用量,右方是上廁所的時間,上廁所期間右方數字會減少至 0後,左方數字會扣掉實際廁所剩餘數後跟著下降,若扣除廁所供應衛生紙後後不為0,則NPC開始出現哭泣,大喊完蛋了,衛生紙不夠用,然後哭著跑出廁所,若扣除後左右數字皆為零可得分數(獎金),然後走出廁所,哭泣時間持續 3秒,然後在右下方出現特寫鏡頭圖片播放

4. 廁所前排Queue的第一排-這排Queue無法操控,系統自動判斷所排的廁所開始出廁所時,就開始往廁所移動(系統操作),一旦進入廁所立刻變為上廁所圖示,開始計算時間倒數,進廁所走一格需要花費時間(Hard:0.75秒Normal:0.5

秒 Easy:0.3秒)

Organization Original Power Create Co.

Title/SubjectToilet Janitor

Doc Number

Owner: T.S.Huang Approved by Date 4/15/2023 Version 1.0 Page 8

Page 9: Software Requirement Specification Document 20100317

Software Requirement Specification- IT Service Request Form

5. 廁所前排Queue的第二排,在不同的玩法-Usher下可操控,點選排隊圈圈,若排隊圈圈上是空的則NPC第四排的主Queue的第一位會自動補上所點選的空位, 所走一格需要花費時間(Hard:0.75秒Normal:0.5秒 Easy:0.3秒)

6. 廁所前排Queue的第三排,不會排人(隱藏的據點),是用來顯示人物移動和消耗時間的(若圖示太小或增加開發難度,可考慮拿掉此一排的功能), 所走一格需要花費時間(Hard:0.75秒Normal:0.5秒 Easy:0.3秒) ,若有第三排則,第一個位置先走中間的空格再向兩旁的目標走去

7. 廁所前排Queue的第四排(主Queue),會固定有 6位NPC排隊等候(會自動補滿 6位直到Usher下班為止),系統會等候並判斷當廁所前的Queue開始空出位置時且玩家點選了位置後,就遞補, 因為玩法不同,所以此時排隊的NPC身旁(第一位顯現數字就好?)會有上廁所的時間數字,出現方便排Queue,特殊的NPC出現時此時變為破壞狂,若排在第一位時等候時間超過 3秒,會出現生氣符號,上廁所後會破壞廁所,需花時間來修復(Hard:15秒,Normal:10秒,Easy:5

秒),此時廁所會變成修理中8. NPC特寫鏡頭,當NPC生氣時會開始破壞廁所,就於此顯示 5秒的特寫鏡頭

(切換數張圖片)

9. 總人數-這邊顯示一開始是零,隨著上完廁所的人數,會慢慢 counter上去10. 寶物列表,點選寶物就可以有特效產生幫助過關11. Toilet Usher的人物角色,無功用,不會動,但可以固定切換圖片代表指揮

Queue

12. 時鐘,此關在 Toilet Usher時會判斷早上 9:00到下午 17:00,時間到則Usher就下班關閉廁所,在第四排 Queue放置 stop禁止的符號立牌,計算分數時間的流逝(第一關 15秒代表一小時,第二關 20秒代表一小時,….第七關 45

秒代表一小時)

13. 此功能在 Toilet Usher處無作用14. 代表 Janitor的圖像顯示,有四種圖示,兩張圖代表移動中,一張代表到補充區拿取衛生紙,一張圖代表到廁所補充衛生紙

1.4.5結束介面:

Organization Original Power Create Co.

Title/SubjectToilet Janitor

Doc Number

Owner: T.S.Huang Approved by Date 4/15/2023 Version 1.0 Page 9

遊戲製作- T.S. Cloud JoeArt -FlykingMusic JungMusicXXXXXX XXX

Page 10: Software Requirement Specification Document 20100317

Software Requirement Specification- IT Service Request Form

1. 播放製作群、結尾曲、連絡方式2. 輪換 Janitor and Usher的過關獲獎的圖案

1.5 Spirit

1.5.1 主遊戲介面

1.5.1.1廁所精靈

1.5.1.1.1 Property([廁所 id],[廁所顯示圖示],[廁所衛生紙最大容量],[使用剩餘張數],[難易度等級],[位置 x軸],[位置 y軸])

Property Easy Normal Hard

[廁所 id]

[廁所顯示圖示]

[廁所衛生紙最大容量] 8 6 5

[使用剩餘張數] 8 6 5

[難易度等級] Easy Normal Hard

[位置 x軸]

[位置 y軸]

Property Easy Normal Hard

初始廁所間數 3 4 5(4?視圖的大小)

1.5.1.1.2 觸發 Event

Event 觸發時機 效果Event1 NPC進入廁所後,上廁所時間

數字每秒開始減少,減少至 0

觸發 Event2 or Event3

Event2 使用廁所的衛生紙剩餘張數-

NPC使用衛生紙張數後還有剩

NPC正常出廁所,由上廁所圖示,改為出廁所離開圖示

Event3 使用廁所的衛生紙剩餘張數-

NPC使用衛生紙張數後為負數

1. 切換NPC哭泣圖示 3~5

秒後,奔出廁所2. 右下方介面開始播放特寫

Organization Original Power Create Co.

Title/SubjectToilet Janitor

Doc Number

Owner: T.S.Huang Approved by Date 4/15/2023 Version 1.0 Page 10

Page 11: Software Requirement Specification Document 20100317

Software Requirement Specification- IT Service Request Form

Event4 當廁所被觸控時 1. Janitor會開始走向被觸控的廁所(設定為目的地)

2. 觸發 Event5

Event5 當被觸控後,Janitor走到定位(目的地)

1. 廁所衛生紙剩餘數補充到容量最大值

2. Janitor手上的數量要減去所補充的衛生紙格數

3. 若 Janitor手上張數不夠補,補完數量為止

4. 行進圖片切換為補充衛生紙圖片 0.5秒

Event6(Usher玩法)

當每間廁所衛生紙減少時 1. 判斷剩餘張數最低且NPC使用張數最多的設為 Janitor目的

2. 觸發 Event4

1.5.1.2 Janitor(衛生紙補充員)精靈

1.5.1.2.1 Property([角色 id],[人物顯示圖示],[衛生紙最大容量],[剩餘格數],[難易度等級],

[位置精靈所在編號],[狀態],[行進時間],[目的地位置])

Property Easy Normal Hard

[角色 id]

[人物顯示圖示] 會依狀態更換 會依狀態更換 會依狀態更換[衛生紙最大容量] 30 25 20

[使用剩餘格數] 30 25 20

[難易度等級] Easy Normal Hard

[位置精靈所在編號] 記錄所在位置 記錄所在位置 記錄所在位置[狀態] 1.行動 2.拿衛生紙

3.補充廁所衛生紙1.行動 2.拿衛生紙3.補充廁所衛生紙

1.行動 2.拿衛生紙3.補充廁所衛生紙

[行進時間] 0.3 sec. 0.5 sec. 0.75 sec.

[目的地位置] 記錄目的地位置 記錄目的地位置 記錄目的地位置

1.5.1.2.2 觸發 Event Event 觸發時機 效果

Organization Original Power Create Co.

Title/SubjectToilet Janitor

Doc Number

Owner: T.S.Huang Approved by Date 4/15/2023 Version 1.0 Page 11

Page 12: Software Requirement Specification Document 20100317

Software Requirement Specification- IT Service Request Form

Event7 觸控衛生紙補充區時 1. Janitor會開始走向被觸控的衛生紙補充區

2. 觸發 Event8

Event8 當被觸控後,Janitor走到定位(目的地)

1. Janitor的衛生紙剩餘數會補充到最大容量

2. 圖示會由行進轉換為拿取衛生紙圖示

Event9 每移動一格位置時 依行進秒數,切換行進圖片(兩張交替)

Event10 當廁所被觸控時 1. Janitor會開始走向被觸控的廁所

2. 觸發 Event9、Eevent11

Event11 當被觸控後,Janitor走到定位(目的地)

1. 廁所衛生紙剩餘數補充到容量最大值

2. Janitor手上的數量要減去所補充的衛生紙格數

3. 若 Janitor手上張數不夠補,補完數量為止

4. 行進圖片切換為補充衛生紙圖片 0.5秒

1.5.1.3 NPC(上廁所路人)精靈

1.5.1.3.1 Property([角色 id],[人物顯示圖示],[使用衛生紙數],[上廁所時間],[難易度等級],[位置精靈所在編號],[狀態],[行進時間],[Bonus],[忍耐時間],[目的地位置])

Property Easy Normal Hard

[角色 id]

[人物顯示圖示] 會依狀態更換 會依狀態更換 會依狀態更換[使用衛生紙數] 依難易度變化* 依難易度變化* 依難易度變化*

[上廁所時間] 依難易度變化* 依難易度變化* 依難易度變化*

[難易度等級] Easy Normal Hard

[位置精靈所在編號] 記錄所在位置 記錄所在位置 記錄所在位置[狀態] 1.行走 2.等待 3.離

去 4.蹲廁所5.ORZ

1.行走 2.等待 3.離去 4.蹲廁所5.ORZ

1.行走 2.等待 3.離去 4.蹲廁所5.ORZ

Organization Original Power Create Co.

Title/SubjectToilet Janitor

Doc Number

Owner: T.S.Huang Approved by Date 4/15/2023 Version 1.0 Page 12

Page 13: Software Requirement Specification Document 20100317

Software Requirement Specification- IT Service Request Form

[行進時間] 0.3 sec. 0.5 sec. 0.75 sec.

[Bonus] Bonus人物加分註記 Bonus人物加分註記 Bonus人物加分註記

[忍耐時間] 5秒 4秒 3秒

[目的地位置] 記錄目的地位置 記錄目的地位置 記錄目的地位置請參考下列Matrix

關卡(Easy) 過關條件 廁所間數 衛生紙容量 NPC(使用張數,如廁時間)

Section1 滿意度 20 3 6 (1,4) *5,(2,4)*10,(3,4)*5

Section2 滿意度 25 3 6 (1,4) *5,(2,4)*10,(3,4)*10

Section3 滿意度 30 3 6 (1,4) *5 ,(2,3) *10,

(3,3)*10,(4,3)*5

Section4 滿意度 35 3 6 (1,4) *5 ,(2,3) *10,

(3,3)*10,(4,3)*10

Section5 滿意度 40 3 6 (2,3) *15,(3,3)*15,(4,3)*10

Section6 滿意度 45 3 6 (2,2) *10,(3,2)*20,(4,2)*15

Section7 滿意度 50 3 6 (2,2) *10,(3,2)*15,(4,2)*25

Normal 過關條件 廁所間數

衛生紙容量

NPC(使用張數,如廁時間)

Section1 滿意度 20 4 5 (2,4) *5,(3,4)*10,(4,4)*4

Bonus(4,4)*1

Section2 滿意度 25 4 5 (2,4) *5,(3,4)*9,(4,4)*10

Bonus(3,4)*1

Section3 滿意度 30 4 5 (2,3) *10,(3,3)*9,(4,3)*9

Bonus(3,4)*1,Bonus(4,4)*1

Section4 滿意度 35 4 5 (2,3) *8,(3,3)*14,(4,3)*10

Bonus(2,4)*2,Bonus(3,4)*1

Section5 滿意度 40 4 5 (2,2) *13,(3,2)*13,(4,2)*10

Bonus(2,4)*2,Bonus(3,4)*2

Section6 滿意度 45 4 5 (2,2) *8,(3,2)*18,(4,2)*15

Bonus(2,4)*2,Bonus(3,4)*2

Section7 滿意度 50 4 5 (2,2) *7,(3,2)*12,(4,2)*25

Bonus(2,4)*3,Bonus(3,4)*3

Hard 過關條件 廁所間數

衛生紙容量

NPC(使用張數,如廁時間)

*R代表 1~4Radom

Organization Original Power Create Co.

Title/SubjectToilet Janitor

Doc Number

Owner: T.S.Huang Approved by Date 4/15/2023 Version 1.0 Page 13

Page 14: Software Requirement Specification Document 20100317

Software Requirement Specification- IT Service Request Form

Section1 滿意度 20 5 5 (2,R) *5,(3,4)*10,(4,4)*4

Bonus(4,4)*1

Section2 滿意度 25 5 5 (2,R) *5,(3,R)*9,(4,4)*10

Bonus(3,4)*1

Section3 滿意度 30 5 5 (2,R) *10,(3,R)*9,(4,3)*9

Bonus(3,4)*1,Bonus(4,4)*1

Section4 滿意度 35 5 5 (2,R) *8,(3,R)*14,(4,3)*10

Bonus(2,4)*2,Bonus(3,4)*1

Section5 滿意度 40 5 5 (2,R) *13,(3,R)*13,(4,R)*10

Bonus(2,4)*2,Bonus(3,4)*2

Section6 滿意度 45 5 5 (2,R) *8,(3,R)*18,(4,R)*15

Bonus(2,4)*2,Bonus(3,4)*2

Section7 滿意度 50 5 5 (2,R) *7,(3,R)*12,(4,R)*25

Bonus(2,4)*3,Bonus(3,4)*3

1.5.1.3.2 觸發 Event Event 觸發時機 效果Event12(Usher玩法)

觸控上廁所待排區(9宮格)

入口時1. 排隊主Queue的NPC會開始判斷走向被觸控的廁所待排區

2. 觸發 Event13

Event13 當被觸控後,NPC走到定位(目的地)

1. 圖示會由行進轉換為排隊背向圖示

2. 觸發 Event14

Event14 每移動一格位置時 依行進秒數,切換行進圖片(兩張交替)

Event15(Usher玩法)

排到主Queue的第一個位置時

1. NPC會出現上廁所時間顯示

2. Bonus人物的忍耐時間開始倒數

Event16 排到主Queue的第一個位置時

1. NPC 判斷前面的 9宮格的位置有空缺時,自動判斷路徑最近的一個空格開始設為目的地

2. 觸發 Event 12

Organization Original Power Create Co.

Title/SubjectToilet Janitor

Doc Number

Owner: T.S.Huang Approved by Date 4/15/2023 Version 1.0 Page 14

Page 15: Software Requirement Specification Document 20100317

Software Requirement Specification- IT Service Request Form

Event17 排到 9宮格陣列時(尚未進入廁所前),當有NPC狀態是離去時

1. 後一位NPC遞補前進一格

2. 依行進秒數,切換行進圖片(兩張交替)

1.5.1.4 NPC 直線Queue精靈

1.5.1.4.1 Property([Queue id],[位置 id],[顯示圖示],[難易度等級],[位置 x軸],[位置 y軸])

Property Easy Normal Hard

[Queue id]

[位置 id] 1~6(共 6個位置) 1~6(共 6個位置) 1~6(共 6個位置)

[顯示圖示]

[難易度等級] Easy Normal Hard

[位置 x軸]

[位置 y軸]

1.5.1.4.2 觸發 Event Event 觸發時機 效果Event18 當第一位NPC補位(狀態為

離開)至每間廁所的 sub

queue(九宮格)時

1. 每位NPC精靈物件向前移動一個位置

2. 觸發 Event19

Event19 當Queue最後一個位置空出位置時

判斷右上方總人數大於 0,自動補一位NPC到最後一格(所有的NPC精靈物件可以先編號放在Array中,random

選取)

Event20(Usher玩法)

當Queue最後一個位置空出位置時

持續不斷的隨機產生人補位

Event21(Usher玩法)

當第一個位置因下班時間到了,被放置禁止符號

1. 不再觸發補人的機制2. 開始記分

1.5.1.5 衛生紙補充區精靈

1.5.1.5.1 Property([Queue id],[位置 id],[顯示圖示],[難易度等級],[位置 x軸],[位置 y軸])

Organization Original Power Create Co.

Title/SubjectToilet Janitor

Doc Number

Owner: T.S.Huang Approved by Date 4/15/2023 Version 1.0 Page 15

Page 16: Software Requirement Specification Document 20100317

Software Requirement Specification- IT Service Request Form

Property Easy Normal Hard

[Queue id]

[位置 id] 左、右兩個 左、右兩個 左、右兩個[顯示圖示]

[難易度等級] Easy Normal Hard

[位置 x軸]

[位置 y軸]

1.5.1.5.2 觸發 Event Event 觸發時機 效果Event22 補充區被觸控時 1. 該補充區設定為 Janitor

的目的地,開始項目的地移動

2. 觸發 Event23

Event23 Janitor開始行走時 1. 會走到左右兩邊的衛生紙補充區的位置(目的地)

2. 和點選最旁邊廁所的位置是一樣的,但是一個是面朝左右搬衛生紙

3. 一個是面朝前方補充衛生紙

Event24(Usher玩法)

1. 當所有的廁所衛生紙都足夠應付下一次的使用時

2. 當 Janitor的總格數小於廁所需求數時

1. 自動設定距離最近的補充區為目的地

2. 觸發 Event22

1.5.1.6 Janitor 行徑路徑精靈

1.5.1.6.1 Property([Queue id],[位置 id],[顯示圖示],[難易度等級],[位置 x軸],[位置 y軸],

[對應廁所])

Property Easy Normal Hard

[Queue id]

[位置 id] 1~3(共 3個位置) 1~4(共 4個位置) 1~5(共 5個位置)

[顯示圖示]

Organization Original Power Create Co.

Title/SubjectToilet Janitor

Doc Number

Owner: T.S.Huang Approved by Date 4/15/2023 Version 1.0 Page 16

Page 17: Software Requirement Specification Document 20100317

Software Requirement Specification- IT Service Request Form

[難易度等級] Easy Normal Hard

[位置 x軸]

[位置 y軸]

[對應廁所] 1~3(共 3個位置) 1~4(共 4個位置) 1~5(共 5個位置)

1.5.1.6.2 觸發 Event Event 觸發時機 效果Event25 Janitor開始行走時 1. 會走到左右兩邊的衛生紙

補充區的位置(目的地)-切換行進圖片

2. 和點選最旁邊廁所的位置是一樣的,但是一個是面朝左右搬衛生紙觸發Event26

3. 一個是面朝前方補充衛生紙觸發 Event27

Event26 走到衛生紙補區的目的時(補充區的前一格)

1. 顯示面朝左右搬衛生紙的圖片

2. Janitor的衛生紙開始補滿Event27 走到廁所的目的時 1. 顯示面朝下的補充衛生紙

圖片2. 將廁所的剩餘衛生紙補充到最大容量數,並扣除Janitor相對的補充量

Event28(Usher玩法)

當廁所衛生紙張數減少時 1. 開始計算所有的廁所哪間衛生紙最少,設為目的地

2. 觸發 Event25和 Event27

1.5.1.7 9宮格 Queue路徑精靈

1.5.1.7.1 Property([Queue id],[位置 id],[顯示圖示],[難易度等級],[位置 x軸],[位置 y軸],

[對應廁所],[對應觸控區],[對應路徑])

Property Easy Normal Hard

[Queue id]

[位置 id] Array[3*3]共 9格 Array[4*3] 共 12格 Array[5*3] 共 15格

Organization Original Power Create Co.

Title/SubjectToilet Janitor

Doc Number

Owner: T.S.Huang Approved by Date 4/15/2023 Version 1.0 Page 17

Page 18: Software Requirement Specification Document 20100317

Software Requirement Specification- IT Service Request Form

[顯示圖示]

[難易度等級] Easy Normal Hard

[位置 x軸]

[位置 y軸]

[對應廁所] [1,1],[1,2],[1,3] [1,1],[1,2],[1,3],[1,4] [1,1],[1,2],[1,3],[1,4],[1,5]

[對應觸控區] [2,1],[2,2],[2,3] [2,1],[2,2],[2,3],[2,4] [2,1],[2,2],[2,3],[2,4],[2,5]

[對應路徑] [3,1],[3,2],[3,3] [3,1],[3,2],[3,3],[3,4] [3,1],[3,2],[3,3],[3,4],[3,5]

1.5.1.7.2 觸發 Event Event 觸發時機 效果Event29 廁所是空的 1. Check 對應廁所前的

Queue是否無NPC

2. 觸發 Event30

Event30 廁所前的位置是空的 1. 自動將位置上的NPC往前補進一格

2. Check對應觸控區的位置是否無NPC

3. 觸發 Event31

Event31 對應觸控區是空的 1. 觸發排隊NPC Event16

2. 主Queue計算後自動設定為目的地,補上NPC

Event32(Usher玩法)

對應觸控區是空的 1. 觸發排隊NPC Event12

2. 排隊主Queue的第一位NPC會走到觸控的目的地

1.6 Workflow

Organization Original Power Create Co.

Title/SubjectToilet Janitor

Doc Number

Owner: T.S.Huang Approved by Date 4/15/2023 Version 1.0 Page 18

Page 19: Software Requirement Specification Document 20100317

Software Requirement Specification- IT Service Request Form

1.6.1 主操作流程(Main Process)

1.6.1.1 Description

1.6.1.2 Flow of Events

1.6.1.2.1 Main Flow

1.6.1.2.2 Sub Flow (Option)

1.6.1.2.3 Alternative Flows

1.6.1.3 Special Requirements (option)

1.6.1.4 Precondition

1.6.1.5 Post Condition

1.6.1.6 Special Constraint (Option)

1.6.1.7 GUI Interface (Option)

1.5.2 主遊戲流程(Game process)

1.6.2.1 Description

1.6.2.2 Flow of Events

1.6.2.2.1 Main Flow

1.6.2.2.2 Sub Flow (Option)

1.6.2.2.3 Alternative Flows

Organization Original Power Create Co.

Title/SubjectToilet Janitor

Doc Number

Owner: T.S.Huang Approved by Date 4/15/2023 Version 1.0 Page 19

Page 20: Software Requirement Specification Document 20100317

Software Requirement Specification- IT Service Request Form

1.6.3 Use Case < >

1.6.3.1 Description

.

1.6.3.2 Flow of Events

1.6.3.2.1 Main Flow

1.6.3.2.2 Sub Flow (Option)

1.6.3.2.3 Alternative Flows

1.6.4 Use Case < >

1.6.4.1 Description

.

1.6.4.2 Flow of Events

1.6.4.2.1 Main Flow

1.6.4.2.2 Sub Flow (Option)

1.6.4.2.3 Alternative Flows

1.6.5 Use Case < >

1.6.5.1 Description

1.6.5.2 Flow of Events

1.6.5.2.1 Main Flow

Organization Original Power Create Co.

Title/SubjectToilet Janitor

Doc Number

Owner: T.S.Huang Approved by Date 4/15/2023 Version 1.0 Page 20

Page 21: Software Requirement Specification Document 20100317

Software Requirement Specification- IT Service Request Form

1.6.5.2.2 Sub Flow (Option)

1.6.5.2.3 Alternative Flows

1.6.6 Use Case < >

1.6.6.1 Description

.

1.6.6.2 Flow of Events

1.6.6.2.1 Main Flow

1.6.6.2.2 Sub Flow ()

1.6.6.2.3 Alternative Flows

1.6.7 Use Case < >

1.6.7.1 Description

1.6.7.2 Flow of Events

1.6.7.2.1 Main Flow

1.6.7.2.2 Sub Flow (Option)

1.6.7.2.3 Alternative Flows

Organization Original Power Create Co.

Title/SubjectToilet Janitor

Doc Number

Owner: T.S.Huang Approved by Date 4/15/2023 Version 1.0 Page 21

Page 22: Software Requirement Specification Document 20100317

Software Requirement Specification- IT Service Request Form

1.6.8 Use Case < >

1.6.8.1 Description

1.6.8.2 Flow of Events

1.6.8.2.1 Main Flow

1.6.8.2.2 Sub Flow (Option)

1.6.8.2.3 Alternative Flows

1.6.9 Use Case < >

1.6.9.1 Description

1.6.9.2 Flow of Events

1.6.9.2.1 Main Flow

1.6.9.2.2 Sub Flow (Option)

1.6.9.2.3 Alternative Flows

1.6.10 Use Case < >

1.6.10.1 Description

.

1.6.10.2 Flow of Events

1.6.10.2.1 Main Flow

1.6.10.2.2 Sub Flow (Option)

Organization Original Power Create Co.

Title/SubjectToilet Janitor

Doc Number

Owner: T.S.Huang Approved by Date 4/15/2023 Version 1.0 Page 22

Page 23: Software Requirement Specification Document 20100317

Software Requirement Specification- IT Service Request Form

1.6.10.2.3 Alternative Flows

1.6.11 Use Case < >

1.6.11.1 Description

1.6.11.2 Flow of Events

1.6.11.2.1 Main Flow

1.6.11.2.2 Sub Flow (Option)

1.6.11.2.3 Alternative Flows

1.7 Domain Object List - OOAD

N/A

Organization Original Power Create Co.

Title/SubjectToilet Janitor

Doc Number

Owner: T.S.Huang Approved by Date 4/15/2023 Version 1.0 Page 23