arXiv Science⌕ Search

arXiv subjects

Duygu Çakmak

Publications and source records attributed to Duygu Çakmak.

2 recordsLinked to original sources

A Game-Integrated On-Device Gaming Assistant

Strategy games layer many complex, interconnected mechanics, resulting in steep learning curves for new players. Traditional onboarding approaches can alleviate some of these learning barriers, but they are often static and expensive to maintain as the game evolves. Recent third-party game assistants aim to provide more dynamic assistance. However, they often rely on expensive vision models and tend to depend on community sources of unverified accuracy. To address these limitations, we propose an on-device game assistant that reads game state directly from the engine, draws on developer-authored documentation, and runs locally to keep query cost low. We present an agentic architecture in which a small on-device LLM iteratively plans, queries, and refines its response using two tools: a hybrid retrieval pipeline over preprocessed game data and a game state retrieval tool for querying dynamic game data. We discuss how we implemented the architecture for the turn-based portion of Total War: Pharaoh. We evaluate the resulting agent on 336 questions covering static game knowledge, game-state reasoning, multi-turn conversations, and out-of-scope guardrails and show that our full system outperforms ablations across most categories.

cs.AI↗

From Code to Play: Benchmarking Program Search for Games Using Large Language Models

Large language models (LLMs) have shown impressive capabilities in generating program code, opening exciting opportunities for applying program synthesis to games. In this work, we explore the potential of LLMs to directly synthesize usable code for a wide range of gaming applications, focusing on two programming languages, Python and Java. We use an evolutionary hill-climbing algorithm, where the mutations and seeds of the initial programs are controlled by LLMs. For Python, the framework covers various game-related tasks, including five miniature versions of Atari games, ten levels of Baba is You, an environment inspired by Asteroids, and a maze generation task. For Java, the framework contains 12 games from the TAG tabletop games framework. Across 29 tasks, we evaluated 12 language models for Python and 8 for Java. Our findings suggest that the performance of LLMs depends more on the task than on model size. While larger models generate more executable programs, these do not always result in higher-quality solutions but are much more expensive. No model has a clear advantage, although on any specific task, one model may be better. Trying many models on a problem and using the best results across them is more reliable than using just one.

cs.AI↗