簡易檢索 / 詳目顯示

研究生: 潘韋誠
Wei-Cheng Pan
論文名稱: 基於有限狀態機之視覺化遊戲開發:以角子機為例
Visual Programming for Games based on Finite State Machine: A Case Study for Slot Machine Development
指導教授: 戴文凱
Wen-Kai Tai
口試委員: 賴祐吉
Yu-Chi Lai
王學武
Hsueh-Wu Wang
學位類別: 碩士
Master
系所名稱: 電資學院 - 資訊工程系
Department of Computer Science and Information Engineering
論文出版年: 2021
畢業學年度: 109
語文別: 中文
論文頁數: 37
中文關鍵詞: 視覺化程式設計有限狀態機老虎機
外文關鍵詞: Visual Programming, Finite State Machine, Slot Machines
相關次數: 點閱:304下載:12
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 現今博弈市場蓬勃發展,其中角子機其簡單的遊戲機制,在市場中佔有一席之地,在競爭激烈的環境下,如何讓展品脫穎而出就成了關鍵。除了美術風格和遊戲細節外,開發時程也是其中一個脫穎而出的關鍵,然而目前角子機開發並沒有提供一個快速修改或產生程式碼的工具,導致開發週期略顯過長,開發週期會大幅影響產品的競爭性。
    因此本論文製作一個輔助工具,來輔助開發人員在大量開發時縮短開發週期,進而提升產品競爭性,透過分析角子機的遊戲結構,同時利用有限狀態機簡單方便的特性來製作輔助工具;再利用 VSCode Extension 製作視覺化輔助工具讓整體架構清晰明瞭,並用輔助工具將其輸出成 TypeScript 程式碼和主程式進行溝通;由於角子機在主結構上相似,在大量開發時只需要修改有限狀態機中的部分程式即可完成,以此來縮短開發週期。


    Nowadays, the game industry is booming, and many games are similar, relying on different art and a little different game mechanics to attract customers. The same for slot game. Most slot game have similar game modes. However, due to the environmental requirement of slot, if a new hot mechanism occurs and it attracts many people, other companies in the industry need to develop new products with this mechanism more quickly to attract these customers. Therefore, how to quickly develop a slot game is the key. Because the main game of slot is similar, this article uses finite state machine to shorten the development time. Use auxiliary tools to create finite state machine, and when repeatedly developing games, you only need to focus on the modified parts. Through auxiliary tools, different parts can be quickly modified to achieve the effect of shortening the development time.

    1 緒論 1 2 文獻探討 2 2.1 有限狀態機 2 2.2 視覺化程式設計語言 3 3 研究方法 5 3.1 Slot Game 的架構分析 5 3.2 以 FSM 實作輔助工具 14 3.3 將 FSM 轉換成程式碼 16 3.4 輔助工具的操作方法 17 4 實驗結果 22 4.1 輔助工具環境 22 4.2 輔助工具正確性驗證 22 4.3 輔助工具通用性 22 5 結論與後續工作 25 參考文獻 26

    [1] 台灣區電機電子工業同業公會. (May 25, 2020). 2020 年美國全球國際博彩展覽會 (G2E). Retrieved from https://www.teema.org.tw/exhibition-detail.aspx?infoid=30524.
    [2] Yannakakis, Mihalis. (2000). Hierarchical State Machines. 1872. 315-330.10.1007/3-540-44929-9_24.
    [3] Xod. (2017). Retrieved May 5, 2021, from Awesome Open Source website: https://awesomeopensource.com/project/xodio/xod.
    [4] Ardublockly. (2016). Retrieved May 5, 2021, from Awesome Open Source website:https://awesomeopensource.com/project/carlosperate/ardublockly.
    [5] Scratch. (2019, Jan 02). Retrieved May 5, 2021, from Scratch website: https://scratch.mit.edu/.
    [6] APP inventor. (2012). Retrieved May 5, 2021, from MIT APP Inventor website:https://appinventor.mit.edu/.
    [7] Bolt. (2020, Mar 02). Retrieved May 5, 2021, from Unity Asset Store website:https://assetstore.unity.com/packages/tools/visual-scripting/bolt-163802.
    [8] Blueprint Visual Scripting. (2014). Retrieved May 5, 2021, from Unreal Engine website: https://docs.unrealengine.com/4.26/en-US/ProgrammingAndScripting/Blueprints/.
    [9] 人 機 互 動. (2001). In Wikipedia. Retrieved May 5, 2021, from https://zh.wikipedia.org/wiki/%E4%BA%BA%E6%9C%BA%E4%BA%A4%E4%BA%92.
    [10] Vegas Slots Online - Play Your Favorite Online Slot Machines. (2013). Retrieved Augest 20, 2021, from VegasSlotsOnline website: https://www.vegasslotsonline.com/.
    [11] 狀態轉移表. (1997). In Wikipedia. Retrieved May 5, 2021, from https://zh.wikipedia.org/wiki/%E7%8A%B6%E6%80%81%E8%BD%AC%E7%A7%BB%E8%A1%A8.
    [12] Jagenjo. (2020, Aug 12). litegraph.js. Retrieved from github website: https://github.com/jagenjo/litegraph.js.
    [13] Extension API. (2019, Jul). Retrieved May 5, 2021, from Visual Studio Code website: https://code.visualstudio.com/api.
    [14] 3 Elements Slot Machine. (2013. Jun, 15). Retrieved Jun 7, 2021, from VegasSlotsOnline website: https://www.vegasslotsonline.com/fuga-gaming/3-elements/

    QR CODE