I made a working Clash Royal A.I !
I made a working Clash Royal A.I !

I made a working Clash Royal A.I !

Sorry for the lag and the bot's lag at the start, I don't have a good computer to having the emulator, information window (which is shown just for you people) + screen recorder.

https://reddit.com/link/1aq5d1i/video/s4votdwl9fic1/player

It uses combination of finding specific images (start battle, know what menu, know the scores, know when battle ended with who), specific AI for detecting troops (machine vision), hardcoded strategies (when to place what) (depends on the latency of the computer) and other stuff to detect elixir, tower health, timer etc...

I used it exclusively in training camp (I already had the account) to not distrub any other players (even though in arena 1 it's mostly bots) and to not be unfair. I also won't give the link to the source code in case it's used for abuse, though I can post updates if it interests enough people. Feel free to ask me any questions

submitted by /u/AngelFireLA
[link] [comments]