Introduction: The application of Artificial Intelligence in games has evolved significantly, allowing for dynamic content generation. However, its use as a core gameplay co-creation tool remains underexplored. Objective: This paper proposes SpellForger, a game where players create custom spells by writing natural language prompts, aiming to provide a unique experience of personalization and creativity. Methodology: The system uses a supervisedtrained BERT model to interpret player prompts. This model maps textual descriptions to one of many spell prefabs and balances their parameters (damage, cost, effects) to ensure competitive integrity. The game is developed in the Unity Game Engine, and the AI backend is in Python. Expected Results: We expect to deliver a functional prototype that demonstrates the generation of spells in real time, applied to an engaging gameplay loop, where player creativity is central to the experience, validating the use of AI as a direct gameplay mechanic.
翻译:引言:人工智能在游戏中的应用已显著发展,实现了动态内容生成。然而,其作为核心游戏玩法共创工具的应用仍未被充分探索。目标:本文提出SpellForger,一款玩家通过书写自然语言提示来创建自定义法术的游戏,旨在提供个性化与创造性的独特体验。方法:该系统采用监督训练的BERT模型来解析玩家提示。该模型将文本描述映射至多个法术预制件之一,并平衡其参数(伤害、成本、效果)以确保竞技公平性。游戏基于Unity游戏引擎开发,AI后端使用Python实现。预期结果:我们期望交付一个功能原型,展示实时法术生成,应用于引人入胜的游戏循环中,其中玩家创造力是体验的核心,从而验证AI作为直接游戏机制的可行性。