AEGIS AI

An enemy became smarter after the first battle was experienced. They began to do attack in the various methods.

You are A.I system developed newly to defend the earth from the new enemy’s attack.

You must decide the cannon base form corresponding to the level. Then, while enemies attack, you must place and move the cannon timely to fit enemy’s attitude.

One level is composed of many waves. After all enemies in the level are destroyed, the battle of the next level
begins.

You can obtain more resources due to the rise in the level. But, enemies are stronger and become faster by the increase in the level. You must keep making new strategy for the new level. A new battle will begin one after another.

As a result, how many levels will you be able to clear?