Saved in:
Bibliographic Details
Main Authors: Wu, Tianyang, Wan, Lipeng, Wang, Yuhang, Wan, Qiang, Lan, Xuguang
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2504.04783
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908304773480448
author Wu, Tianyang
Wan, Lipeng
Wang, Yuhang
Wan, Qiang
Lan, Xuguang
author_facet Wu, Tianyang
Wan, Lipeng
Wang, Yuhang
Wan, Qiang
Lan, Xuguang
contents Significant progress has been made in AI for games, including board games, MOBA, and RTS games. However, complex agents are typically developed in an embedded manner, directly accessing game state information, unlike human players who rely on noisy visual data, leading to unfair competition. Developing complex non-embedded agents remains challenging, especially in card-based RTS games with complex features and large state spaces. We propose a non-embedded offline reinforcement learning training strategy using visual inputs to achieve real-time autonomous gameplay in the RTS game Clash Royale. Due to the lack of a object detection dataset for this game, we designed an efficient generative object detection dataset for training. We extract features using state-of-the-art object detection and optical character recognition models. Our method enables real-time image acquisition, perception feature fusion, decision-making, and control on mobile devices, successfully defeating built-in AI opponents. All code is open-sourced at https://github.com/wty-yy/katacr.
format Preprint
id arxiv_https___arxiv_org_abs_2504_04783
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Playing Non-Embedded Card-Based Games with Reinforcement Learning
Wu, Tianyang
Wan, Lipeng
Wang, Yuhang
Wan, Qiang
Lan, Xuguang
Machine Learning
Significant progress has been made in AI for games, including board games, MOBA, and RTS games. However, complex agents are typically developed in an embedded manner, directly accessing game state information, unlike human players who rely on noisy visual data, leading to unfair competition. Developing complex non-embedded agents remains challenging, especially in card-based RTS games with complex features and large state spaces. We propose a non-embedded offline reinforcement learning training strategy using visual inputs to achieve real-time autonomous gameplay in the RTS game Clash Royale. Due to the lack of a object detection dataset for this game, we designed an efficient generative object detection dataset for training. We extract features using state-of-the-art object detection and optical character recognition models. Our method enables real-time image acquisition, perception feature fusion, decision-making, and control on mobile devices, successfully defeating built-in AI opponents. All code is open-sourced at https://github.com/wty-yy/katacr.
title Playing Non-Embedded Card-Based Games with Reinforcement Learning
topic Machine Learning
url https://arxiv.org/abs/2504.04783