Skip to content

BurgerNight/Dota2-DragonChess-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dota2 Dragon Chess Match-3 Game AI

This is an AI for the match-3 minigame embedded in Dota2 Crownfall Act 3. It uses image recognition to identify the elements and performs actions based on specific algorithms.

It will help you beat the game.

Download

Here

Usage

  1. Go to the DragonChess game page.
  2. Run run_agent.exe run as administrator.
  3. Move the mouse over Play on game page, then press b to start.
  4. Watch it play.
  5. Use q to pause/unpause the program, use esc to exit the program.

Supported Arguments

--wait_static or -w, if set, it will wait for a static board to perform the next action.

--show or -s, if set, it will display the identified game board image, use this for debugging.

--board_coordinates or -b, Specify the coordinates of the game board manually in the format x1,y1,x2,y2 where (x1, y1) is the top-left corner and (x2, y2) is the bottom-right corner of the square game board. This is useful if the program has trouble automatically identifying the game board.

# Run the following command from a terminal:
path/to/run_agent.exe -b 185 195 1260 1270

You can take a screenshot and paste it to Windows paint to find out the coordinates (as shown below). board_example.png

Q&A

  1. The program is not functioning properly.
  • The program keeps showing Cannot locate the game board, make sure the game is on the screen. even after you switch back to the game.
  • The mouse is not clicking within the area of the board or not switching the right element.
  • The program raises an error and exits.

These problems occur when the game board is not correctly identified. Try changing game resolution or use --board_coordinates above to manually set up board coordinates.

  1. Will it get you VAC banned?

The program functions based on image recognition. It does not access or modify any game files and should be safe to use.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages