Discover and explore top open-source AI tools and projects—updated daily.
AI for playing Honor of Kings (Arena of Valor)
Top 16.3% on SourcePulse
This project provides an AI agent for playing the mobile game "Honor of Kings" using a ResNet101 and GPT architecture. It's designed for researchers and enthusiasts interested in game AI and reinforcement learning, offering a practical implementation of a vision-based agent.
How It Works
The AI combines a ResNet101 for visual feature extraction from game screenshots with a GPT-based decoder for action prediction. This approach leverages pre-trained image recognition capabilities and sequence modeling to interpret game state and generate control commands. The system relies on minitouch
for touch input simulation on Android devices.
Quick Start & Requirements
pip
.scrcpy
(Windows version)minitouch
(may auto-install, otherwise manual installation required; note: minitouch
does not support Android 10)..json
files) based on phone resolution and orientation.Highlighted Details
minitouch
for simulating touch inputs on Android devices.minitouch
coordinates based on device specifics.Maintenance & Community
The project is explicitly marked as no longer updated, with a successor project focusing on reinforcement learning. The original author mentions potential future video tutorials.
Licensing & Compatibility
The README does not explicitly state a license. Compatibility is limited to specific Android versions (pre-Android 10 due to minitouch
) and requires precise game layout matching.
Limitations & Caveats
The provided pre-trained model is described as having a very low skill level (potentially worse than beginner AI bots) due to limited training data (100+ games). Game updates may break functionality. Touch mapping requires significant manual adjustment for different devices and orientations.
4 years ago
1 day