I have reached a point in the game I am making where everything is just starting to fall into place. So now that everything is aligning I can't help but notice that my AI is the weakest part of the game. The game is a 2D Sci Fi space combat game. The game leans much more towards arcade games.
At the moment my AI uses a rule based system, something like this:
public Class AIRules
{
//Rule1
void ShootEnemyInRange(){
//Code for firing etc.
}
//Rule2
void LookForTarget(){
//Code for looking for a target
}
}
Rule 1 has priority over Rule 2 etc. So as can be seen I am no expert at making AI.
I would like to improve my AI but I don't have months to spend learning something new. I was hoping that someone could point me to something simple that I could learn to improve my AI, that will only take about a week to learn.
It could be any small practical thing. Something that would be useful to a indie developer.