簡易檢索 / 詳目顯示

研究生: 曾增宇
Zeng-Yu Zeng
論文名稱: 自動化遊戲邏輯測試:以吃角子老虎機支付表為案例
Automatic Game Logic Testing: A Case Study for Slot Machine Paytable
指導教授: 戴文凱
Wen-Kai Tai
口試委員: 賴祐吉
Yu-Chi Lai
王學武
Hsueh-Wu Wang
學位類別: 碩士
Master
系所名稱: 電資學院 - 資訊工程系
Department of Computer Science and Information Engineering
論文出版年: 2021
畢業學年度: 109
語文別: 中文
論文頁數: 60
中文關鍵詞: 吃角子老虎機軟體測試自動化測試系統軟體品質隨機測試壓力測試
外文關鍵詞: Slot Machine, Software Testing, Automatic Testing System, Quality Assurance, Random testing, Stress testing
相關次數: 點閱:293下載:0
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報

\hspace{2em}吃角子老虎機深受世界各地的玩家所喜愛,因此有許多國際廠商都投入許多的人力、資源在遊戲的開發中。現在吃角子老虎機除了有過去機械式吃角子老虎機(Slot Machine),也出現了數位化的吃角子老虎機(Video Slot Machine),也因為這個重大的改變,現在的吃角子老虎機已不在受限於機械的設計,可以透過軟體開發對遊戲機制有無限的遐想!因此現在的吃角子老虎機已經不像過去那樣單純,當遊戲的機制複雜化之後,在測試遊戲時就常常會因為某些獎項出現的機率太低而造成不容易測試的情況。因此,如何取代人工準確的找出那些錯誤並提供足夠的數據讓遊戲開發者能夠更加快速的修正遊戲,即是此次研究的目標。

本論文提出了共用的吃角子老虎機資料格式並結合隨機測試與壓力測試來完成自動化遊戲規則檢查的流程。開發者只需要將遊戲規則轉換成共用的資料格式後,並撰寫一份將遊戲結果轉換成共用資料格式的程式後即可進行自動化的遊戲規則檢查,可以有效的讓遊戲開發者快速的發現程式的錯誤,也可以大幅減少遊戲品質保證的時間。

根據實驗結果,透過本論文提出的自動化遊戲規則檢查的流程,在不改動遊戲原始碼的條件下,透過資料格式的轉換以及預先寫好的遊戲規則即可快速的檢驗吃角子老虎機的邏輯是否正確。可以加快整體遊戲開發的流程,也可以減少那些因為出現機率較低的而沒有被發現的錯誤。

關鍵字:吃角子老虎機、軟體測試、自動化測試系統、軟體品質、隨機測試、壓力測試


\hspace{2em}Slot machines are loved by players all over the world, such that many international manufacturers have invested a lot of manpower and resources in the development of the game. Current slot machines are no longer limited to mechanical design, yet video slots are everywhere around the world. Therefore, how to quickly and accurately find out those errors and provide enough data so that developers can develop games more quickly and correctly is the goal of this research.

In this thesis, we propose a common slot machine data format and a flow of automated game rules checking. Developers only need to convert the game rules into a common data format and write a program to converts the game results into a common data format. Then, our developed system will automatically perform game rules checking, which can effectively and accurately discover the bugs.

According to the experimental results, the system we proposed can quickly check whether the logic of the slot machine is correct without changing the source code of the game by conversion of the data format and the pre-written game rules. It does speed up the overall game development and decreases bugs of the low probability of occurrence.

Keywords: Slot Machine, Software Testing, Automatic Testing System, Quality Assurance, Random testing, Stress testing

中文摘要. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . III Abstract . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . IV 目錄. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . VI 圖目錄. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . IX 表目錄. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . XII 1 緒論. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.1 研究背景與動機. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.2 研究目標. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.3 研究方法敘述. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.4 研究貢獻. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.5 本論文之章節結構. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2 相關研究. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2.1 Slot Machine 介紹. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2.1.1 輪帶及盤面介紹. . . . . . . . . . . . . . . . . . . . . . . . . . 6 2.1.2 遊戲玩法及其規則. . . . . . . . . . . . . . . . . . . . . . . . 6 2.1.3 特殊符號. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.1.4 基本遊戲. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.1.5 額外遊戲. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.2 軟體測試. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.2.1 隨機測試. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.2.2 壓力測試. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 3 研究方法. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3.1 共用格式. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.1.1 賠率表共用格式. . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.1.2 遊戲結果共用格式. . . . . . . . . . . . . . . . . . . . . . . . 17 3.2 規則轉換流程. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.3 計算獎項. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.3.1 線獎. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 3.3.2 Scatter 獎. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 3.3.3 全盤獎. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 3.3.4 Way 獎. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 3.4 比對獎項流程. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 3.5 壓力測試工具. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 3.5.1 壓力測試參數. . . . . . . . . . . . . . . . . . . . . . . . . . . 32 3.5.2 壓力測試流程. . . . . . . . . . . . . . . . . . . . . . . . . . . 32 3.6 統計報表. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 4 實驗結果與分析. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 4.1 正確性驗證. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 4.1.1 修改規則. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 4.1.2 生成錯誤結果. . . . . . . . . . . . . . . . . . . . . . . . . . . 38 4.2 系統效能驗證. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 4.2.1 系統效能測試. . . . . . . . . . . . . . . . . . . . . . . . . . . 40 4.2.2 整合測試. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 5 結論與後續工作. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 5.1 結論. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 5.2 未來研究方向. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 參考文獻. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46

[1] OnlineCasinos.
com, “The history of slot machines,” 2020. [Online. accessed 8Mar2021].
Available: https://www.onlinecasinos.
com/slots/history/.
[2] T. Ratilainen, “Guidelines for creating a testing process for a software case
study of
comparing testing of two different size of slot game projects,” Master’s thesis, Aalto
University, Finland, 2019.
[3] “Testrail.” [Online. accessed 2Aug2021].
Available: https://www.gurock.com/testrail.
[4] “Jira.” [Online. accessed 2Aug2021].
Available: https://www.atlassian.com/software/
jira.
[5] “Slack.” [Online. accessed 2Aug2021].
Available: https://slack.com/.
[6] “Confluence.” [Online. accessed 2Aug2021].
Available: https://
www.atlassian.com/software/confluence.
[7] Wikipedia contributors, “Syntax diagram,” 2021. [Online. accessed 10Jul2021].
Available: https://www.onlinecasinos.
com/slots/history/.
[8] T. Morelli, “Presenting a standard slot machine as an interactive racing game,” in
2015 IEEE Games Entertainment Media Conference (GEM), pp. 1–7, 2015.
[9] Wikipedia contributors, “Software testing,” 2021. [Online. accessed 2Aug2021].
Available: https://en.wikipedia.org/wiki/Software_testing.
[10] J. W. Duran and S. C. Ntafos, “An evaluation of random testing,” IEEE Transactions
on Software Engineering, vol. SE10,
no. 4, pp. 438–444, 1984.
[11] Wikipedia contributors, “Blackbox
testing,” 2021. [Online. accessed 2Aug2021].
Available: https://en.wikipedia.org/wiki/Blackbox_
testing.
[12] Wikipedia contributors, “Stress testing,” 2021. [Online. accessed 16Aug2021].
Available: https://en.wikipedia.org/wiki/Stress_testing.
[13] Wikipedia contributors, “Client–server model,” 2021. [Online. accessed 16Aug2021].
Available: https://en.wikipedia.org/wiki/Client–server_model.
[14] “Json,” 1999. [Online. accessed 20Jun2021].
Available: https://www.json.org/
jsonzh.
html.

無法下載圖示 全文公開日期 2024/08/23 (校內網路)
全文公開日期 2024/08/23 (校外網路)
全文公開日期 2024/08/23 (國家圖書館:臺灣博碩士論文系統)
QR CODE