Analyzeing Opponent strategy

So I want to create an algo that can deploy defenses and attack opponent based on analyzed results. So if the opponent is an EMP attacker do … If is a ping attacker do … Something like this.

You will have to parse the action frames to do that. You should investigate json-docs.html in the starterkit, the code that handles communication with the game engine, and search the programming documentation for referances to ‘action frames’