รายละเอียดโครงงาน

หลักสูตร/ปี พ.ศ.
วิศวกรรมศาสตรบัณฑิต สาขาวิชาวิศวกรรมคอมพิวเตอร์ ปี พ.ศ. 2569

ภาคและปีการศึกษาที่สำเร็จการศึกษา
ภาคปลาย ปีการศึกษา 2568

ประเภทโครงงาน
โครงงานวิศวกรรม

ชื่อโครงงานภาษาไทย
การออกแบบและพัฒนาระบบเกมจำลองการบริหารที่ใช้โมเดลภาษาขนาดใหญ่ในการช่วยดำเนินเรื่อง

ชื่อโครงงานภาษาอังกฤษ
Development of Large Language Model-Assisted Narrative Management Game

ผู้พัฒนา
6510503221 กฤติน ชัยอุดมกิจ
6510503913 อิทธิวัฒน์ ชูเชิด

อาจารย์ที่ปรึกษาหลัก
จิตร์ทัศน์ ฝักเจริญผล

อาจารย์ที่ปรึกษาร่วม
-

บทคัดย่อ

เกมกลยุทธ์และบริหารแบบดั้งเดิมพึ่งพาการใช้ระบบเหตุการณ์ที่ถูกเตรียมไว้ล่วงหน้าอย่างจำกัด ดังนั้นเกมอาจให้ความรู้สึกซ้ำซาก การศึกษานี้นำเสนอการพัฒนาเกมกลยุทธ์แบบผลัดตาที่ใช้โมเดลภาษาขนาดใหญ่ช่วยดำเนินเรื่องด้วยยูนิตี (Unity) บนระบบปฏิบัติการวินโดวส์ เกมนี้ตั้งเนื้อเรื่องอยู่ในยุครณรัฐ มีทั้งหมด 7 รัฐ 36 จังหวัด ผู้เล่นจะสวมบทบาทเป็นผู้นำของรัฐ บริหารทรัพยากร การทูต การทหารและการเมือง ระบบข้างต้นได้บูรณาการโมเดลภาษาขนาดใหญ่ในการสร้างเหตุการณ์และประเมินผลลัพธ์ภารกิจอย่างเป็นพลวัตด้วยการวิเคราะห์ข้อมูลสถานะเกมที่บันทึกไว้ในรูปแบบข้อมูลแบบเจสัน (JavaScript Object Notation; JSON) ในตอนจบของทุกตา ผู้เล่นโต้ตอบกับเหตุการณ์ในเกมด้วยการตัดสินใจผ่านตัวเลือก ทำให้โมเดลภาษาขนาดใหญ่สามารถส่งผลต่อสถานะเกมได้ภายใต้กติกาเกมและโครงสร้างข้อมูล ผลการทดลองแสดงให้เห็นว่าระบบสามารถสร้างเหตุการณ์ได้อย่างต่อเนื่องและเหมาะสมต่อเนื้อหาด้วยอัตราการผิดพลาดที่ต่ำ ผลตอบรับของผู้เล่นบ่งชี้ว่าเกมนี้ค่อนข้างสนุกและมีศักยภาพ แต่ยังมีความไม่เรียบร้อยของระบบ โดยสรุปแล้ว การสร้างเนื้อหาด้วยโมเดลภาษาขนาดใหญ่นั่นแนวทางที่มีแนวโน้มที่จะเสริมความหลากหลายในเกมกลยุทธ์และบริหาร อย่างไรก็ดีวิธีการดำเนินการในปัจจุบันยังมีช่องว่างให้ปรับปรุงต่อไป

Abstract

Traditional strategy and management video games rely on limited pre-scripted event system; thus, the game could feel repetitive. This study presents the development of a large language model (LLM)–assisted turn-based strategy game developed in Unity for Windows OS. This game is set in the warring states period, featuring 7 states and 36 commanderies, the player takes the role of the ruler of the state, managing resources, diplomacies, military and politics. The system integrates an LLM to dynamically generate narrative events and evaluate mission outcomes based on game state data recorded in JSON format at the end of each turn. Players interact with these events through choice-based decisions, allowing the LLM to influence subsequent game states within game rules and data schemas. Experimental evaluation shows that the system can generate coherent, and contextually appropriate events with a low error rate. Player feedback indicates that the game is enjoyable and have potential but remains incomplete in terms of system polish. In conclusion, LLM-assisted event generation is a promising approach for increasing diversity in strategy and management games. However, the current implementation still has a lot of room for improvement.

คำสำคัญ (Keywords)

วิดีโอเกม (Video Game)
โมเดลภาษาขนาดใหญ่ (Large Language Model)
เกมกลยุทธ์ (Strategy Game)
เกมบริหาร (Management Game)
การพัฒนาเกม (Game Development)

เว็บไซต์โครงงาน
-

วีดีโอคลิปของโครงงาน
-

ที่เก็บเวอร์ชันซอร์สโค้ด

https://github.com/TC-Senior-Project-2025/llm-assisted-narrative-game


สถานะการนำเข้าข้อมูล

ผู้นำเข้าข้อมูลครั้งแรก
กฤติน ชัยอุดมกิจ (b6510503221)

แก้ไขครั้งสุดท้าย
เมื่อ March 16, 2026, 2:29 p.m. โดย กฤติน ชัยอุดมกิจ (b6510503221)

สถานะการอนุมัติ
รออนุมัติ