Andre Lamothe''s book "Teach Yourself Game Programming in 21 Days" has a decent introduction to game AI techniques.
Simple AI techniques are easy to program. Start out with two people on either side of the screen who shoot at each other.
PERSON 1 AI
if (enemy bullet exists)
if(person1.y==enemy_bullet.y)
person1.y++
if
if (person1.y>person2.y)
person1.y++
else if (person1.y person1.y--
else if (person1.y==person2.y)
fire_bullet()
Just reverse it for person 2. This should create two little men who move up and down the left and right sides of the screen, firing bullets at each other and avoiding the bullets fired at them.
Start with basic behavior like this, and gradually add more complexity. For instance, you could check how far the bullet is from the person and decide whether to snap off a quick shot or evade, or you could add health and have a person flee when his health gets too low.
You can obviously also allow the people to move along the x axis, but this will involve a little trigonometry to calculate the bullet vectors.
Anywho, hope this helped.
You''''re just jealous because the voices are talking to me!