myBoris/wzry_ai

人工智能模型玩王者荣耀

What it solves

This project provides an educational framework for exploring how artificial intelligence models can be trained to play the mobile game Honor of Kings. It is intended strictly for learning purposes and explicitly prohibits the use of the software as a game cheat or automated bot in live environments.

How it works

The project uses a machine learning pipeline where users can download pre-existing ONNX models and run a training script (train.py) to generate a custom model file. The system interacts with the game by mapping screen coordinates to input actions. Users can calibrate these controls by running a utility script that identifies specific screen positions, which are then saved into the project's configuration files to ensure the AI interacts with the correct game elements.

Who it’s for

This project is for developers and AI enthusiasts interested in the intersection of reinforcement learning, computer vision, and game automation. It is best suited for those comfortable with Python environments, managing CUDA dependencies, and configuring hardware-specific software settings.

Highlights

  • Educational framework for AI-driven game interaction.
  • Includes tools for screen coordinate mapping and input configuration.
  • Supports custom model training via provided scripts.
  • Detailed environment setup documentation and video tutorials available.

Related

  • Project
  • Project
  • Project
  • Project
  • Project