Did you read my comment ? <| sep |> definitely better than any of their lol teams despite a quite large community , getting up to 100 k views in their league <| sep |> Well as one of my software engineering lecturers once said , if you try to solve a problem with regex then you have two problems <| sep |> I believe they are very simply coded . Attach energy until it ' s no longer needed , attack , use Supporters and Items if you have them like Potions or Center Lady even if it ' s going to heal only 10 damage , evolve when you can , search for the first Pokmon you find in the deck when using things like Ultra Ball . To be honest , they don ' t have to be super smart in my opinion . I don ' t think they are meant to be super hard or challenging , they are just a way to earn packs for new players instead of giving them for free and mainly a way to introduce new players to the game . By the way , I can confirm they will never retreat . I was playing against a deck with a basic pokmon that can remove energies can ' t remember its name and I was playing Born of Fire and put a Snorlax as my active Pokmon . At first , my plan was to use it to stall while I build my bench but once I was done , I couldn ' t retreat at all since every single energy I put to Snorlax was eventually removed he had to flip a coin to remove it . Since he requires 4 Energies to retreat or attack , I was completely stuck . I spent the entire game attaching energy to him and eventually I lost to deck out EDIT Forgot to mention he could have knocked my Snorlax easily had he retreated his Active .