|
CannonsAI
Plans for AI in Cannons
Phase-Implementation Store AISpending1 in 3 - Spend all money 1 in 3 - Spend half of money 1 in 3 - Spend a quarter of money Buying StrategiesAt the start of the game, you can assign a strategy to the AI. The strategy chosen will have a larger chance of being chosen than the other strategies. The computer will randomly choose a strategy and allocate a portion of money to it as per the guidelines above. Depending on the amount of money available, different types of bombs will be bought. Also, the AI will never buy a missile if it has ten or more of that missile already. For each strategy, there will be a "ranking" of bombs. If the highest ranking bomb is possible to be bought, one will be bought, then two of the next highest ranking will be bought if possible, then two of each of the rest of bombs in the category. It there is leftover money, the AI will repeat this process until all available money is used up. StapleThe AI will maintain the following bombs at all times: 3x Volcano Bomb 3x Firework Bomb 2x Repair Kit Utility3/20 For the "Utiliy option," the AI will buy repair kits until it has five repair kits, and it will sustain one large shield and one thick armor plate. Conventional3 in 20 chance this strategy will be chosen Fusion Bomb, Atom Bomb, Large Missile Cluster Bombs2 in 6 chance this strategy will be chosen Atomic Cluster Bomb, Firework Cluster Bomb, Large Cluster Bomb, Cluster Bomb Air Strike Strategy2 in 6 chance this strategy will be chosen The AI will randomly pick airstrikes to buy until it doesn't have enough money left. Other MissilesWMD StrategyThis strategy is not chosen, but is executed if the computer has enough money Ultra Firework Bomb/Viral Bomb/Black Hole/etc - Will buy one if enough money Firing StrategyThese conditions are checked in this order:
|